Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-11-21 | Reduce scope of variables | Colomban Wendling | 2 | -11/+8 | |
Mostly found by cppcheck. | |||||
2023-11-21 | clock: Simplify sort_locations_by_time() | Colomban Wendling | 1 | -29/+11 | |
There is no need to return -1 or 1 specifically, anything on the right side of 0 is OK, so simplify using the usual `a - b` implementation for such sort functions. Note that the type is OK here, as the `struct tm` are ints, the same as the function's return value. | |||||
2023-07-11 | Clock applet/wayland: position calendar window same as in x11 | Luke from DC | 2 | -83/+195 | |
* Clock applet/wayland: position calendar window same as in x11 - Wayland/clock: fix calendar window rendering when moved Ensure the calendar window cannot be "stretched" across the screen if the panel or the applet is moved while the calendar is showing | |||||
2023-06-28 | Fix distribution of applet service files | Colomban Wendling | 1 | -1/+1 | |
Fix distribution of the applet service files sources when building from an in-process-configured build. This fixes `make distcheck` and tarballs in builds configured with `--with-in-process-applets=all` (or actually any in-process applet). The issue was that the .service.in file was referenced indirectly in EXTRA_DIST, and the variable listed there was only filled in a conditional. Automake is not able to resolve this and see it still should distribute the reference of that variable, even if set conditionally. Fix this by always setting the variable properly, even if it's only used for out-of-process builds. | |||||
2023-05-17 | tell dconf-edit about relocatable schemas (#1355) | Denis Gorodnichev | 1 | -10/+0 | |
* tell dconf-edit about relocatable schemas * self fix for incorrect and duplicated records remove duplicated schemas for currect path remove incorrect schemas for current path * remove clock applet hack * expose mate_panel_applet_settings_new to introspection add "transfer full" annotation to make this method available throught introspection | |||||
2023-03-27 | Clock Applet: Update date/time and weather after resume from sleep mode | Gordon Norman Squash | 1 | -0/+103 | |
Before this commit, the Clock Applet was unaware of when the system resumed from sleep mode (e.g. suspend or hibernate). This meant that, if the user suspended the system and then woke it up some time later, the clock might not show the real current time, but instead would continue to show the time at which the system was suspended for up to a minute after the system woke up. This could be confusing to the user if they peered up at the clock immediately after, say, opening their laptop lid. This commit connects to ConsoleKit or (if available) systemd-logind via D-Bus, and listens for a signal that indicates when the system wakes up from sleep mode. When the system does wake up, the Clock Applet updates the date/time immediately, and also updates all the weather/temperature readings if possible. Note that if logind is missing, ConsoleKit2 is required for this feature to work; the original ConsoleKit lacked the signal required to implement this feature. This should not be a problem since it is unlikely that anyone would even consider using the original ConsoleKit in this day and age. | |||||
2022-06-28 | clock: Fix memory leak | Colomban Wendling | 1 | -1/+2 | |
2022-03-18 | clock: cast from function call of type 'gdouble' to non-matching type | rbuj | 1 | -3/+3 | |
2022-01-02 | clock: fix memory leak | rbuj | 1 | -0/+2 | |
2021-12-20 | Fix some -Wsign-compare warnings | rbuj | 1 | -5/+5 | |
2021-12-20 | Remove unnecessary cast in g_signal_connect* call | rbuj | 3 | -23/+19 | |
2021-12-19 | Use dashes instead of underscores in signal names | rbuj | 1 | -13/+13 | |
2021-12-19 | clock: gtk_entry_set_alignment in clock.ui | rbuj | 2 | -3/+3 | |
2021-12-19 | clock: gtk_entry_set_width_chars in clock.ui | rbuj | 2 | -3/+3 | |
2021-12-19 | clock: Upgrade clock.ui | rbuj | 1 | -294/+340 | |
2021-12-19 | clock: Define _clock_get_widget instead of using one sentence method | rbuj | 1 | -7/+2 | |
2021-12-19 | clock: simplify temperature_unit_changed and speed_unit_changed | rbuj | 1 | -22/+23 | |
2021-12-19 | clock: fix temperature_unit_changed and -Wsign-compare warnings | rbuj | 1 | -7/+13 | |
2021-12-19 | Use GLib's new g_clear_signal_handler() function to simplify code | rbuj | 1 | -2/+10 | |
2021-12-16 | Use g_clear_pointer() and g_clear_object() | rbuj | 6 | -66/+23 | |
2021-12-11 | Use a blank line at most | rbuj | 7 | -14/+0 | |
2021-07-28 | Fix clock applet add location crash | zhuyaliang | 2 | -3/+3 | |
2021-02-07 | Redundant NULL check before freeing a variable | rbuj | 3 | -73/+27 | |
2021-02-04 | build: Use PACKAGE_URL variable | rbuj | 1 | -1/+1 | |
2021-01-16 | Update copyright to 2021 | rbuj | 1 | -1/+1 | |
2020-12-11 | remove function calls to mate_panel_applet_set_background_widget | mbkma | 1 | -3/+0 | |
keep mate_panel_applet_set_background_widget for compatibility | |||||
2020-09-07 | Remove variableScope warnings reported by cppcheck | rbuj | 6 | -31/+21 | |
cppcheck --enable=all . 2> err.txt grep variableScope err.txt | |||||
2020-08-05 | clock-face: Use gdk_pixbuf_new_from_resource_at_scale | rbuj | 3 | -60/+2 | |
2020-08-01 | clock: assignment to 'GSList *' from incompatible pointer type 'GList *' | rbuj | 1 | -2/+2 | |
2020-08-01 | clock: Use single-linked lists for locations | rbuj | 5 | -45/+45 | |
2020-08-01 | clock: sort locations by time reverse and name | rbuj | 1 | -1/+17 | |
2020-08-01 | clock: merge sorting and reversing node list of selected locations | rbuj | 1 | -2/+7 | |
2020-07-29 | clock: Fix GError double free | Tomas Bzatek | 4 | -6/+1 | |
Let the GError ownership on the async finish method call. | |||||
2020-07-29 | clock: Properly free rsvg handles | Tomas Bzatek | 1 | -1/+3 | |
2020-07-29 | clock: Fix leaking GtkListStore | Tomas Bzatek | 1 | -4/+4 | |
The gtk_tree_view_set_model() adds its own reference. | |||||
2020-07-29 | clock: Fix list iteration | Tomas Bzatek | 1 | -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-29 | clock: Fix leaking cairo surface | Tomas Bzatek | 1 | -0/+1 | |
2020-07-08 | clock: Simplify notebook scroll-event callback | rbuj | 1 | -40/+35 | |
2020-07-05 | Avoid using single-line cpp comments | rbuj | 2 | -4/+5 | |
2020-07-05 | Use '#include <config.h>' instead of '#include "config.h"' | rbuj | 3 | -3/+3 | |
2020-03-02 | Do not collect the translation for Icon | rbuj | 1 | -1/+1 | |
2020-01-12 | Update copyright to 2020 | raveit65 | 1 | -1/+1 | |
2019-12-13 | Clock applet: Fix string comparison | Clement Lefebvre | 1 | -2/+5 | |
2019-12-13 | clock applet: add a call to ATK to provide the current displayed time | Jonathan Michalon | 1 | -2/+7 | |
2019-11-15 | fix mate-panel can not find mo file | Wu Xiaotian | 1 | -1/+1 | |
2019-11-11 | migrate from intltool to gettext | Wu Xiaotian | 2 | -10/+11 | |
2019-10-09 | Fetch clock formats using LC_TIME (as opposed to LANGUAGE) | Clement Lefebvre | 1 | -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-16 | clock-face: fix code formating | raveit65 | 1 | -310/+310 | |
- replace tabs with spaces - fix a few indentation - reduce leading spaces (8 --> 4) | |||||
2019-09-14 | clock: avoid deprecated g_type_class_add_private | Wu Xiaotian | 6 | -111/+104 | |
2019-07-09 | [clock-applet] Add scroll interface tabs with mouse wheel | Laurent Napias | 1 | -1/+70 | |