summaryrefslogtreecommitdiff
path: root/applets/clock/clock-location-tile.c
AgeCommit message (Collapse)AuthorFilesLines
2021-12-19Use GLib's new g_clear_signal_handler() function to simplify coderbuj1-2/+10
2021-12-16Use g_clear_pointer() and g_clear_object()rbuj1-11/+3
2020-09-07Remove variableScope warnings reported by cppcheckrbuj1-7/+5
cppcheck --enable=all . 2> err.txt grep variableScope err.txt
2020-07-29clock: Fix GError double freeTomas Bzatek1-2/+0
Let the GError ownership on the async finish method call.
2020-07-29clock: Fix leaking cairo surfaceTomas Bzatek1-0/+1
2019-09-14clock: avoid deprecated g_type_class_add_privateWu Xiaotian1-20/+25
2019-01-29Clock: Wayland supportWilliam Wold1-1/+0
2018-05-12Convert launcher icons to cairo surfacesVictor Kareh1-10/+16
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 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-01-31require GTK+ 3.22 and GLib 2.50monsta1-8/+0
2017-11-09Clock: don't check variables that can never be < 0 for < 0lukefromdc1-1/+1
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-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: 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
2016-11-21move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-53/+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-09clock: fix indent somewhatmonsta1-284/+284
2016-06-30clock: fix UI issues introduced in 882f8f4monsta1-10/+10
2016-06-29use gtk_box_new instead of gtk_{h,v}box_new properlySorokin Alexei1-7/+5
2016-02-12GTK+3 clock: clock: don't use deprecated GtkAlignmentWolfgang Ulbrich1-1/+38
taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=5580bf9
2016-02-12GTK+-3 clock: don't subclass deprecated GtkAlignmentWolfgang Ulbrich1-0/+4
taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=c7ea765
2016-02-09Gtk+3: Replace deprecated gtk_{v,h}box_newWolfgang Ulbrich1-0/+5
2016-01-23Gtk3: Don't use deprecated gtk_misc_set_alignmentRoy Zhang1-0/+15
2014-11-24zero-initialize all signals arraysMonsta1-1/+1
2014-02-21transient_parent_xid is not usedDenis Gorodnichev1-17/+0
transient_parent_xid is not used but can cause problem: applet widget have not window until realized
2013-10-26clock: Add GTK3 supportStefano Karapetsas1-0/+4
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.
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+728