summaryrefslogtreecommitdiff
path: root/applets/clock/clock.c
AgeCommit message (Collapse)AuthorFilesLines
2022-03-18clock: cast from function call of type 'gdouble' to non-matching typerbuj1-3/+3
2021-12-20Remove unnecessary cast in g_signal_connect* callrbuj1-20/+17
2021-12-19Use dashes instead of underscores in signal namesrbuj1-13/+13
2021-12-19clock: gtk_entry_set_alignment in clock.uirbuj1-3/+0
2021-12-19clock: gtk_entry_set_width_chars in clock.uirbuj1-3/+0
2021-12-19clock: Define _clock_get_widget instead of using one sentence methodrbuj1-7/+2
2021-12-19clock: simplify temperature_unit_changed and speed_unit_changedrbuj1-22/+23
2021-12-19clock: fix temperature_unit_changed and -Wsign-compare warningsrbuj1-7/+13
2021-12-11Use a blank line at mostrbuj1-5/+0
2021-07-28Fix clock applet add location crashzhuyaliang1-2/+2
2021-02-07Redundant NULL check before freeing a variablerbuj1-6/+5
2021-02-04build: Use PACKAGE_URL variablerbuj1-1/+1
2021-01-16Update copyright to 2021rbuj1-1/+1
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 cppcheckrbuj1-13/+8
cppcheck --enable=all . 2> err.txt grep variableScope err.txt
2020-08-01clock: assignment to 'GSList *' from incompatible pointer type 'GList *'rbuj1-2/+2
2020-08-01clock: Use single-linked lists for locationsrbuj1-39/+39
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 Bzatek1-2/+0
Let the GError ownership on the async finish method call.
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-08clock: Simplify notebook scroll-event callbackrbuj1-40/+35
2020-07-05Use '#include <config.h>' instead of '#include "config.h"'rbuj1-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-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-07-09[clock-applet] Add scroll interface tabs with mouse wheelLaurent Napias1-1/+70
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 Wold1-1/+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-05-12Convert launcher icons to cairo surfacesVictor Kareh1-6/+15
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-26clock: Convert to GResourceVincent Untz1-18/+4
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-01-31require GTK+ 3.22 and GLib 2.50monsta1-65/+0
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 < 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