diff options
| author | Victor Kareh <[email protected]> | 2025-09-22 22:23:09 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-09-22 22:23:09 +0000 |
| commit | cf2f458dd8b70450c3fdffb10d4a45c8c369b3e9 (patch) | |
| tree | 1bfd5fb81bf88684653315aaad11f37532ab4fa9 /applets/clock/calendar-client.h | |
| parent | d68c23bd8e07612f305dcc7825f3a8ee448544f5 (diff) | |
| download | mate-panel-cf2f458dd8b70450c3fdffb10d4a45c8c369b3e9.tar.bz2 mate-panel-cf2f458dd8b70450c3fdffb10d4a45c8c369b3e9.tar.xz | |
clock: Store calendar client in ClockData (#1516)
* 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.
Diffstat (limited to 'applets/clock/calendar-client.h')
| -rw-r--r-- | applets/clock/calendar-client.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/applets/clock/calendar-client.h b/applets/clock/calendar-client.h index 7747d23f..f74ac2c3 100644 --- a/applets/clock/calendar-client.h +++ b/applets/clock/calendar-client.h @@ -144,6 +144,9 @@ void calendar_client_set_task_completed (CalendarClient *cl gboolean calendar_client_create_task (CalendarClient *client, const char *summary); +void calendar_client_update_appointments (CalendarClient *client); +void calendar_client_update_tasks (CalendarClient *client); + void calendar_event_free (CalendarEvent *event); G_END_DECLS |
