summaryrefslogtreecommitdiff
path: root/applets/clock
AgeCommit message (Collapse)AuthorFilesLines
2015-04-09Resolve relative symlink of /etc/localtime This fixes wrong detection of ↵Patrick Monnerat1-0/+16
system timezone under certain circumstances. Example: in Fedora 20, the environment is a follows: a) /etc/localtime symlinks --> ../usr/share/zoneinfo/Europe/Zurich b) /usr/share/zoneinfo contains files with more than 1 hardlink. In example, Europe/Zurich and Europe/Vaduz share the same i-node. - system_timezone_read_etc_localtime_softlink() because the link is relative. - The next algorithms fail because the targeted files do not exist. - system_timezone_read_etc_localtime_hardlink() succeeds, but finds Europe/Vaduz before Europe/Zurich. Thus the detected system timezone is wrong. By resolving a relative /etc/localtime symlink, this patch leads algorithm system_timezone_read_etc_localtime_softlink() to success and therefore proper detection of system timezone. Closes https://patch-diff.githubusercontent.com/raw/mate-desktop/mate-panel/pull/261.patch
2014-12-16Revert "Add back Glib 2.32 support"infirit1-4/+0
This reverts commit 7389d3e9dd5390b3d4e1dabbe6dd763a8dc1a0d7.
2014-12-16Add back Glib 2.32 supportinfirit1-0/+4
2014-12-12clock: use GNetworkMonitorinfirit1-141/+25
Taken from gnome-panel commit: 04e6ef4dbc6a1fdc720b750fdf87a7f43a8a2df6 From: Alberts Muktupāvels <[email protected]>
2014-11-24zero-initialize all signals arraysMonsta3-5/+5
2014-11-23don't leak memoryMonsta1-0/+1
2014-11-23Gtk3: panel, clock: Synchronize calculate_minimum_height() codeinfirit1-2/+2
Also change the panel version to use the padding instead of the border. We're interested in the padding here. I believe. Taken from gnome-panel commit: 0b5d9e57451dff3a25b3fbcc8dec671cac469cb From: Vincent Untz <[email protected]>
2014-11-23Gtk3: clock: Port to GtkStyleContextinfirit1-8/+59
Based on gnome-panel commit: c28ed51852a629884ce9ad8acc7924680c35854c From: Germán Póo-Caamaño <[email protected]>
2014-11-23Gtk3: clock-map: Port to GtkStyleContextinfirit1-3/+9
Based on gnome-panel commit: 40391453286cce55039932d6dc3f741bb74e385f From: Germán Póo-Caamaño <[email protected]>
2014-11-23clock: Check allocated size before creating the shadow pixbufinfirit1-1/+2
Based on gnome-panel commit: d98b58770dec2f1434cb0acce487e85514ca9bb0 From: Carlos Garcia Campos <[email protected]>
2014-11-23Gtk3: Silence GtkBox deprecation warningsinfirit3-0/+16
2014-11-23Gtk3: clock: Port gtk_rc_parse_string to GtkCssProviderinfirit1-0/+15
Based on gnome-panel commit: 71c3290e3895b71be6bce0e909c4b414bd190b5e From: Germán Póo-Caamaño <[email protected]>
2014-11-22Gtk3: Sync get_preferred_width/height() usage with gnome-panelinfirit2-40/+87
Even tough it works it makes taking code (eg StyleContext) from gnome-panel much easier. Also fixes a bug where applets are not drawn when moved/added.
2014-11-22clock: Use lists instead of arraysMonsta1-19/+7
Closes https://github.com/mate-desktop/mate-panel/pull/258
2014-05-18clock: Dont use deprecated rsvg_pixbuf_from_file_at_sizeStefano Karapetsas3-9/+209
This required to copy some code from GTK3 source to make it working with GTK2 too Thanks to Sander Sweers for the help to replace rsvg_pixbuf_from_file_at_size
2014-05-17Remove/comment unused variablesinfirit1-2/+2
2014-05-16Drop support for glib < 2.36infirit1-4/+0
2014-05-16Use gtk_list_store_insert_with_values also for gtk2infirit1-12/+0
It was introduced in gtk+-2.6.
2014-04-26Use about dialog from libmate-desktopStefano Karapetsas1-1/+3
2014-02-21transient_parent_xid is not usedDenis Gorodnichev4-25/+1
transient_parent_xid is not used but can cause problem: applet widget have not window until realized
2014-02-09help: Avoid file collision with gnome-panelinfirit2-3/+3
Also correct help uri for applets.
2014-01-23clock: Do not try to get width/height of non-existing GdkPixbufStefano Karapetsas1-4/+4
https://git.gnome.org/browse/gnome-panel/commit/applets/clock?id=4729df0cda021c27b76be072023dbee082e49e47
2014-01-23Use gtk_widget_get_preferred_size with GTK3Stefano Karapetsas2-0/+8
2013-12-01Remove has_separator property from ui filesStefano Karapetsas1-3/+0
2013-11-14Add return to gboolean functionStefano Karapetsas1-0/+3
Closes #134 https://github.com/mate-desktop/mate-panel/issues/134
2013-10-26clock: Add GTK3 supportStefano Karapetsas5-12/+176
2013-10-07Merge pull request #123 from infirit/1.6Stefano Karapetsas1-2/+2
clock-applet: set sane unit values
2013-10-07clock-applet: set sane unit valuesinfirit1-2/+2
2013-07-12Use yelp-tools instead of mate-doc-utilsStefano Karapetsas1-2/+2
2013-06-30Fixes for make distStefano Karapetsas1-2/+3
2013-06-29Fix g_type_init deprecationStefano Karapetsas1-0/+2
2013-04-27Merge pull request #98 from micolous/masterStefano Karapetsas1-1/+1
Fix for issue #73: when the difference between timezones in the clock applet is less than 1 hour, an offset is not shown
2013-04-08clock: Allow users to set custom format in dconf-editorStefano Karapetsas1-0/+11
2013-02-10Make GSettings schemas translatableStefano Karapetsas3-88/+91
2013-02-02Update applets/clock/clock-location-tile.cMichael Farrell1-1/+1
Fix for issue #73.  Instead of checking for the minutes and hours not equalling zero, check only the minutes aren't 0.
2013-01-20clock: Fix mateweather unitsStefano Karapetsas1-10/+8
2012-11-18fixed incorrect fsf addresses.Steve Zesch12-19/+19
2012-10-11Merge branch 'master' of github.com:mate-desktop/mate-panelStefano Karapetsas1-1/+1
2012-10-11migrate clock applet to gsettingsStefano Karapetsas13-5692/+307
remove evolution code
2012-10-08Fix web site URLcardpuncher1-1/+1
The former URL was matsusoft.com.ar, if my understanding is correct mate-desktop.org is now the ONE TRUE URL :p
2012-09-05Fix compile errorMark Pariente1-0/+2
applets/clock/calendar-client.c references MateConfClient without including mateconf-client.h which caused a compile error on my setup.
2012-06-25Fix clock secondsMichael Steenbeek1-1/+1
2012-04-05clock-applet: use mateconf client to get and set KEY_LOCATIONS_EXPANDED key ↵haxar1-7/+5
when HAVE_LIBECAL is not defined
2012-01-27removing autogenerated filesPerberos2-2132/+0
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos48-0/+20443