summaryrefslogtreecommitdiff
path: root/applets/clock
AgeCommit message (Collapse)AuthorFilesLines
2020-12-11remove function calls to mate_panel_applet_set_background_widgetmbkma1-3/+0
keep mate_panel_applet_set_background_widget for compatibility
2020-09-07Remove variableScope warnings reported by cppcheckrbuj6-31/+21
cppcheck --enable=all . 2> err.txt grep variableScope err.txt
2020-08-05clock-face: Use gdk_pixbuf_new_from_resource_at_scalerbuj3-60/+2
2020-08-01clock: assignment to 'GSList *' from incompatible pointer type 'GList *'rbuj1-2/+2
2020-08-01clock: Use single-linked lists for locationsrbuj5-45/+45
2020-08-01clock: sort locations by time reverse and namerbuj1-1/+17
2020-08-01clock: merge sorting and reversing node list of selected locationsrbuj1-2/+7
2020-07-29clock: Fix GError double freeTomas Bzatek4-6/+1
Let the GError ownership on the async finish method call.
2020-07-29clock: Properly free rsvg handlesTomas Bzatek1-1/+3
2020-07-29clock: Fix leaking GtkListStoreTomas Bzatek1-4/+4
The gtk_tree_view_set_model() adds its own reference.
2020-07-29clock: Fix list iterationTomas Bzatek1-11/+12
Iteration over a linked list should be done over a side control variable and list head needs to be preserved for proper list free.
2020-07-29clock: Fix leaking cairo surfaceTomas Bzatek1-0/+1
2020-07-08clock: Simplify notebook scroll-event callbackrbuj1-40/+35
2020-07-05Avoid using single-line cpp commentsrbuj2-4/+5
2020-07-05Use '#include <config.h>' instead of '#include "config.h"'rbuj3-3/+3
2020-03-02Do not collect the translation for Iconrbuj1-1/+1
2020-01-12Update copyright to 2020raveit651-1/+1
2019-12-13Clock applet: Fix string comparisonClement Lefebvre1-2/+5
2019-12-13clock applet: add a call to ATK to provide the current displayed timeJonathan Michalon1-2/+7
2019-11-15fix mate-panel can not find mo fileWu Xiaotian1-1/+1
2019-11-11migrate from intltool to gettextWu Xiaotian2-10/+11
2019-10-09Fetch clock formats using LC_TIME (as opposed to LANGUAGE)Clement Lefebvre1-0/+17
This is a port of https://github.com/linuxmint/cinnamon-desktop/commit/7cd7c008e05acf36efd87446256d28a8b89d187a Which fixed https://github.com/linuxmint/cinnamon-desktop/pull/132 This commit fixes the same issue in the MATE clock applet.
2019-09-16clock-face: fix code formatingraveit651-310/+310
- replace tabs with spaces - fix a few indentation - reduce leading spaces (8 --> 4)
2019-09-14clock: avoid deprecated g_type_class_add_privateWu Xiaotian6-111/+104
2019-07-09[clock-applet] Add scroll interface tabs with mouse wheelLaurent Napias1-1/+70
2019-07-05Remove trailing whitespacesLaurent Napias6-13/+13
2019-06-20Add supported platform values to *.mate-panel-applet filesWilliam Wold1-0/+1
2019-05-13Set compressed="true" for gresource text filesrbuj1-6/+6
shrink the size of binary files.
2019-02-17Ensure proper translation of the about dialog titlerbuj1-0/+1
Note that GTK+ sets a default title of _("About %s") on the dialog window (where %s is replaced by the name of the application, but in order to ensure proper translation of the title, applications should set the title property explicitly when constructing a GtkAboutDialog https://developer.gnome.org/gtk3/stable/GtkAboutDialog.html
2019-02-15Make translatable the copyright in about dialogrbuj1-5/+2
2019-01-29Clock: Wayland supportWilliam Wold2-2/+9
2019-01-17clock: set horizontal padding for clock-buttonraveit651-2/+2
To make sure we have space left and right inside the button if applet is build-in-process.
2019-01-03Clock: Fix weather icon size selection for panel heightlukefromdc1-2/+29
2019-01-03Clock: ensure weather icon resizes with panellukefromdc1-4/+37
Connect to the "change_size" signal and reload the icon at the correct size
2018-12-29clock: force no button vertical padding and marginraveit651-5/+7
fixes weather-icon problems with some themes
2018-12-12clock.c: Force negative margin, not passing on clockbuttonlukefromdc1-5/+6
Allow themers to set padding on the clock without cutting the weather icons
2018-11-14Migrate mate-panel from dbus-glib to gdbusyetist1-98/+90
- Code optimization - Put GDBusProxy in PanelSessionManager struct
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