summaryrefslogtreecommitdiff
path: root/applets/clock
AgeCommit message (Collapse)AuthorFilesLines
2017-05-24clock: move GtkButton in another horizontal GtkBox parentraveit651-3/+2
Fixes https://github.com/mate-desktop/mate-panel/issues/520
2017-04-11update copyright year to 2017monsta1-1/+1
2017-03-28remove deprecated sys/timeb.h header, as nothing uses itRobert Nagy1-1/+0
2017-01-30clock: fix remaining deprecation for GTK+ >= 3.20monsta1-0/+8
2017-01-09Remove unused variablelukefromdc1-1/+0
2017-01-09GTK 3.20/22 Clock button: force zero padding and marginlukefromdc1-2/+23
Stops negative allocation warnings unless theme sets a border
2017-01-09Clock: remove non-working signal, fix warninglukefromdc1-1/+6
Comment out size-request signal for label, this no longer works if it ever did. Then comment out function this leaves unused.
2016-11-21move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta7-545/+0
and require libmate-desktop >= 1.17 WARNING: use GTK+3 build of libmateweather for this build. that lib is not migrated to GTK+3 only as we will possibly use libgweather instead of it.
2016-11-21check for stable release of GTK+3, not for development onemonsta1-4/+4
2016-11-21fix indent a bitmonsta1-3/+3
2016-11-09clock: fix indent somewhatmonsta5-1699/+1699
2016-11-08clock: remove unused #includemonsta1-1/+0
2016-10-21clock: update tooltip only when new text is differentBłażej Szczygieł1-9/+16
This can prevent problems with OpenGL on some drivers (see #397)
2016-10-20GTK+-3 Calendar Window: force minimum sizelukefromdc1-0/+3
Force minimum width for calendar window to stop jumping (on locations open/close) in themes that don't enlarge calendar from the rather small default. Set the minimum height smaller than any theme would set it as it otherwise just puts blank space under the last row rather than spacing out the numbers. Apparently GTK2 behaves differently here. Note that the GTK3 only selectors will have to come back out for the dev-gtk3-migration branch
2016-09-29clock-applet: mark current daySami Farin1-6/+37
2016-07-31clock: remove useless duplicationkajzer1-2/+0
2016-07-28clock: use GtkAbout and update copyrightraveit651-3/+2
2016-06-30clock: fix UI issues introduced in 882f8f4monsta2-15/+24
2016-06-29use gtk_box_new instead of gtk_{h,v}box_new properlySorokin Alexei4-22/+19
2016-02-21fix some warningsSorokin Alexei2-6/+6
2016-02-12GTK+-3.20 clock: remove deprecated style propertiesWolfgang Ulbrich1-2/+17
taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=c5549ba
2016-02-12GTK+-3.20 clock: don't use deprecated style propertiesWolfgang Ulbrich1-0/+7
taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=e67ac2a
2016-02-12GTK+3 clock: clock: don't use deprecated GtkAlignmentWolfgang Ulbrich3-10/+68
taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=5580bf9
2016-02-12GTK+-3 clock: don't subclass deprecated GtkAlignmentWolfgang Ulbrich2-0/+12
taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=c7ea765
2016-02-09clock: set css nameWolfgang Ulbrich1-0/+7
taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=33e8c06
2016-02-09Gtk+3: Replace deprecated gtk_{v,h}box_newWolfgang Ulbrich1-0/+5
2016-02-09remove deprecated librsvg/rsvg-cairo.h includeWolfgang Ulbrich1-1/+0
Direct include of librsvg/rsvg-cairo.h has been deprecated from 2.36.2 version. Removed it and added required version for librsvg. taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=d306ad3
2016-02-01fix a couple of build warningsmonsta1-1/+1
2016-01-23Gtk3: Don't use deprecated gtk_misc_set_alignmentRoy Zhang1-0/+15
2015-12-22clock: remove useless includemonsta1-3/+0
2015-11-11clock applet: fix ubuntu ambiant-mate gtk2 themingWolfgang Ulbrich1-2/+2
2015-10-30clock: minor corrections in new optionmonsta1-1/+1
2015-10-10Enable or disable calendar week numbers from prefslukefromdc1-2/+17
Add checkbox to enable or disable week numbers in clock preferences window
2015-10-10clock.c: add gesettings key for toggle weeknumberslukefromdc1-0/+6
2015-10-10clock-make transparent calendars possiblelukefromdc1-0/+11
Add support for transparent calendar windows, the window background color can be set to any color and alpha value or made transparent with the #MatePanelPopupWindow named widget selector in the gtk theme. Defaults to theme background color if not set, same as before. This is used only for the calendar window right now
2015-09-06Rework gsettings schema buildinginfirit3-93/+92
* Bump intltool required version for gsettings support * Extract strings with intltool directly * Let autoconf generate the xml files
2015-08-26Gtk3: Don't use deprecated gtk_style_context_get_fontyetist1-1/+1
2015-07-14Replace GtkObject with GObject also for Gtk+ 2infirit1-15/+0
2015-04-09Use g_path_is_absolute().Patrick Monnerat1-1/+1
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