summaryrefslogtreecommitdiff
path: root/applets/clock/calendar-window.c
AgeCommit message (Collapse)AuthorFilesLines
2025-10-08clock: Separate expander state from section visibility preferencesVictor Kareh1-11/+6
The Appointments and Tasks expanders in the calendar popup were incorrectly linked to the show-calendar-events and show-tasks gsettings. This caused collapsing the section to toggle the preference, making the entire section disappear on next popup. Fixed by adding a new expand-calendar-events and expand-tasks gsettings keys to track the UI state separately from whether the section is visible or not.
2025-10-07clock: Follow EDS calendar colors and highlight current eventVictor Kareh1-0/+135
Evolution tracks a color for each calendar. We can fetch this to differentiate events from multiple calendars in the popup. This also marks the current event in bold and scrolls the window to make it visible to the user on load.
2025-09-22clock: Store calendar client in ClockData (#1516)Victor Kareh1-48/+59
* clock: Store calendar client in ClockData This simplifies the evolution calendar client architecture and makes the popup show up faster, since we don't need to create a new one every time we open it. * clock: Fix calendar data refresh when opening popup The calendar popup was not showing recently added Evolution events/tasks. Added a refresh timeout call every time the calendar popup opens. That way the popup opens immediately and the data is refresh after a small delay.
2025-08-03clock: Backport Evolution calendar integration from gnome-panelVictor Kareh1-7/+1119
Add Evolution Data Server (EDS) calendar integration to the MATE panel clock applet, most of it ported from gnome-panel's clock applet. This allows users to view calendar events and tasks directly from the clock popup calendar. The calendar integration is disabled by default and can be enabled with --enable-eds during configuration. When disabled, the clock applet functions normally without any EDS dependencies.
2024-02-04Reduce scope of variablesColomban Wendling1-2/+2
Mostly found by cppcheck. origin commit was: https://github.com/mate-desktop/mate-panel/commit/96c7ebc
2024-02-04Revert "Reduce scope of variables"raveit651-2/+2
This reverts commit 96c7ebc6dc9e8b8327db04a9570054ee78743353.
2023-11-21Reduce scope of variablesColomban Wendling1-2/+2
Mostly found by cppcheck.
2022-01-02clock: fix memory leakrbuj1-0/+2
2021-12-20Fix some -Wsign-compare warningsrbuj1-5/+5
2021-12-16Use g_clear_pointer() and g_clear_object()rbuj1-5/+3
2020-09-07Remove variableScope warnings reported by cppcheckrbuj1-2/+2
cppcheck --enable=all . 2> err.txt grep variableScope err.txt
2020-07-05Avoid using single-line cpp commentsrbuj1-2/+2
2019-09-14clock: avoid deprecated g_type_class_add_privateWu Xiaotian1-6/+2
2019-07-05Remove trailing whitespacesLaurent Napias1-1/+1
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-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
2016-11-21move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-25/+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-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-06-30clock: fix UI issues introduced in 882f8f4monsta1-5/+14
2016-06-29use gtk_box_new instead of gtk_{h,v}box_new properlySorokin Alexei1-6/+6
2016-02-12GTK+3 clock: clock: don't use deprecated GtkAlignmentWolfgang Ulbrich1-2/+10
taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=5580bf9
2015-12-22clock: remove useless includemonsta1-3/+0
2015-07-14Replace GtkObject with GObject also for Gtk+ 2infirit1-15/+0
2014-11-24zero-initialize all signals arraysMonsta1-3/+3
2014-11-23Gtk3: Silence GtkBox deprecation warningsinfirit1-0/+6
2013-10-26clock: Add GTK3 supportStefano Karapetsas1-2/+16
2012-11-18fixed incorrect fsf addresses.Steve Zesch1-2/+2
2012-10-11migrate clock applet to gsettingsStefano Karapetsas1-1571/+45
remove evolution code
2012-04-05clock-applet: use mateconf client to get and set KEY_LOCATIONS_EXPANDED key ↵haxar1-7/+5
when HAVE_LIBECAL is not defined
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+2125