summaryrefslogtreecommitdiff
path: root/applets/clock
AgeCommit message (Collapse)AuthorFilesLines
2018-05-12Convert launcher icons to cairo surfacesVictor Kareh2-16/+31
This improves support for HiDPI by loading properly scaled surfaces for launcher and drawer icons. It also Fixes the Show Desktop wncklet to show a surface icon. Other wncklets have their icons determined by libwnck, so they remain as pixbufs. Fixes mate-desktop/mate-desktop#314
2018-04-28clock: fix weird thing in commentsmonsta1-2/+2
result of excessive renaming after forking from GNOME 2 (orbit -> matecorba)
2018-04-28clock: fix actual copy/paste error which caused use-after-freemonsta1-2/+2
also reverts 7099408402dc41f39e32f4afa3e874e968e879bc - not needed anymore
2018-04-28clock: fix use-after-freemonsta1-1/+1
closes https://github.com/mate-desktop/mate-panel/issues/791
2018-04-26clock: Use new GdkPixbuf API to load resourcesVincent Untz1-18/+5
origin commit: https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-4&id=3c0af36
2018-04-26clock: Convert to GResourceVincent Untz10-55/+96
origin commits: https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-4&id=aa2895d https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-4&id=695d30c https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-4&id=00f9870 https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-4&id=9ade365
2018-04-11clock.ui: avoid deprecated:Pablo Barciela1-476/+570
avoid deprecated: GtkTable GtkVBox GtkHBox GtkVButtonBox GtkHButtonBox GtkButton:use-stock GtkImage:stock
2018-01-31require GTK+ 3.22 and GLib 2.50monsta3-78/+1
2018-01-31fix indent a bitmonsta1-1/+1
2018-01-25avoid deprecated GtkStockPablo Barciela1-6/+6
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 < 0lukefromdc2-6/+6
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-07-29don't use deprecated gtk_show_urilukefromdc1-3/+6
2017-07-02clock: change size_reguestraveit651-1/+1
fixes https://github.com/mate-desktop/mate-panel/issues/594
2017-07-02clock: set a default width for calendarWindowraveit651-0/+1
fixes https://github.com/mate-desktop/mate-panel/issues/594
2017-07-02clock: set a margin_start for home iconraveit651-0/+1
fixes https://github.com/mate-desktop/mate-panel/issues/594 Note: min value is 75 in my tests for ukraine language Reduced the margin, as it seemed to be the direct cause of a theme-independent jump.
2017-07-02clock: set width_chars for time labelraveit651-0/+1
fixes https://github.com/mate-desktop/mate-panel/issues/594 Note: in my language setting width_chars to 20 is minimum value to avoid a jumping clock UI, if hovering over another location which use another day. Maybe we need to increase the chosen value for other languages.
2017-05-21clock: properly handle visibility of edit buttonAlberts Muktupāvels1-3/+14
Fixes https://github.com/mate-desktop/mate-panel/issues/570 taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=cc99dca
2017-05-21clock: drop deprecated gtk_size_group_set_ignore_hiddenraveit651-2/+0
seems that function doesn't work proper, see https://developer.gnome.org/gtk3/stable/GtkSizeGroup.html#gtk-size-group-set-ignore-hidden
2017-05-21clock: move GtkButton in another horizontal GtkBox parentraveit651-3/+2
Fixes https://github.com/mate-desktop/mate-panel/issues/520
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-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