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-window.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-window.h')
| -rw-r--r-- | applets/clock/calendar-window.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/applets/clock/calendar-window.h b/applets/clock/calendar-window.h index e24fdfc3..226353ba 100644 --- a/applets/clock/calendar-window.h +++ b/applets/clock/calendar-window.h @@ -31,6 +31,10 @@ #include <gtk/gtk.h> #include "clock-utils.h" +#ifdef HAVE_EDS +#include "calendar-client.h" +#endif + #ifdef __cplusplus extern "C" { #endif @@ -78,6 +82,10 @@ ClockFormat calendar_window_get_time_format (CalendarWindow *calwin); void calendar_window_set_time_format (CalendarWindow *calwin, ClockFormat time_format); +#ifdef HAVE_EDS +void calendar_window_set_client (CalendarWindow *calwin, CalendarClient *client); +#endif + #ifdef __cplusplus } #endif |
