diff options
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r-- | calendar/gui/gnome-cal.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index c618ea143a..a01e26b6a2 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -2184,6 +2184,11 @@ client_cal_opened_cb (ECal *ecal, ECalendarStatus status, GnomeCalendar *gcal) if (status == E_CALENDAR_STATUS_BUSY) return; + + if (status == E_CALENDAR_STATUS_INVALID_SERVER_VERSION) { + e_error_run (NULL, "calendar:server-version", NULL); + status = E_CALENDAR_STATUS_OK; + } if (status != E_CALENDAR_STATUS_OK) { /* Make sure the source doesn't disappear on us */ g_object_ref (source); @@ -2265,6 +2270,11 @@ default_client_cal_opened_cb (ECal *ecal, ECalendarStatus status, GnomeCalendar if (status == E_CALENDAR_STATUS_BUSY) return; + if (status == E_CALENDAR_STATUS_INVALID_SERVER_VERSION) { + e_error_run (NULL, "calendar:server-version", NULL); + status = E_CALENDAR_STATUS_OK; + } + if (status != E_CALENDAR_STATUS_OK) { /* Make sure the source doesn't disappear on us */ g_object_ref (source); |