summaryrefslogtreecommitdiff
path: root/applets/clock/clock.c
AgeCommit message (Collapse)AuthorFilesLines
2018-01-09update copyright year to 2018monsta1-1/+1
2017-12-17WidthOfScreen and HeightOfScreen implementationPablo Barciela1-3/+2
This commit reverts: https://github.com/mate-desktop/mate-panel/commit/7b2bc7d9f98c6ba8c2c31bdf9605faadb42a7e0e And it applies an alternative to fix the deprecated functions: gdk_screen_get_width gdk_screen_get_height
2017-11-14clock: disconnect one more signal handler on destroymonsta1-0/+3
2017-11-09Clock: don't check variables that can never be < 0 for < 0lukefromdc1-5/+5
check them for = 0 instead. Found by cppcheck http://man7.org/linux/man-pages/man3/strftime.3.html This always returns 0 or a positive number of bytes
2017-08-22clock:disconnect signal handlers on destroylukefromdc1-22/+3
Don't just check for the clock's existance and return if it has been destroyed, disconnect them entirely when the clock is destroyed
2017-08-22gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker1-0/+4
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_window gdk_screen_get_monitor_at_point
2017-08-13Clock: fix removal warnings when in-process applet removedlukefromdc1-4/+23
2017-08-13clock: stop segfault on removing applet when built in-processlukefromdc1-0/+4
This works, but does leave part of it in RAM until the panel is restarted. No change in out-of-process builds
2017-08-13avoid deprecated gdk_screen_get_width/heightZenWalker1-2/+3
2017-08-04avoid deprecated gdk_screen_get_n_monitorsZenWalker1-0/+8
2017-05-21clock.c: drop deprecated gtk_size_group_set_ignore_hiddenraveit651-1/+0
seems that function doesn't work proper, see https://developer.gnome.org/gtk3/stable/GtkSizeGroup.html#gtk-size-group-set-ignore-hidden
2017-04-11update copyright year to 2017monsta1-1/+1
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 optionmonsta1-99/+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 somewhatmonsta1-1171/+1171
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-07-31clock: remove useless duplicationkajzer1-2/+0
2016-07-28clock: use GtkAbout and update copyrightraveit651-3/+2
2016-06-29use gtk_box_new instead of gtk_{h,v}box_new properlySorokin Alexei1-4/+8
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 Ulbrich1-7/+20
taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=5580bf9
2016-02-09clock: set css nameWolfgang Ulbrich1-0/+7
taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=33e8c06
2015-11-11clock applet: fix ubuntu ambiant-mate gtk2 themingWolfgang Ulbrich1-2/+2
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-08-26Gtk3: Don't use deprecated gtk_style_context_get_fontyetist1-1/+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: Silence GtkBox deprecation warningsinfirit1-0/+4
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-22clock: Use lists instead of arraysMonsta1-19/+7
Closes https://github.com/mate-desktop/mate-panel/pull/258
2014-05-17Remove/comment unused variablesinfirit1-2/+2
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 Gorodnichev1-6/+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-panelinfirit1-2/+2
Also correct help uri for applets.
2014-01-23Use gtk_widget_get_preferred_size with GTK3Stefano Karapetsas1-0/+4
2013-10-26clock: Add GTK3 supportStefano Karapetsas1-2/+21
2013-04-08clock: Allow users to set custom format in dconf-editorStefano Karapetsas1-0/+11
2013-01-20clock: Fix mateweather unitsStefano Karapetsas1-10/+8
2012-11-18fixed incorrect fsf addresses.Steve Zesch1-2/+2
2012-10-11Merge branch 'master' of github.com:mate-desktop/mate-panelStefano Karapetsas1-1/+1
2012-10-11migrate clock applet to gsettingsStefano Karapetsas1-663/+160
remove evolution code