From 6f57f92231266e6b194cf630851d4ac481cd43c1 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Tue, 11 Nov 2003 17:11:09 +0000 Subject: use a standard calendar status (backend_cal_opened_online): ditto 2003-11-11 JP Rosevear * gui/calendar-offline-handler.c (backend_cal_opened_offline): use a standard calendar status (backend_cal_opened_online): ditto * gui/alarm-notify/alarm-queue.c (cal_opened_cb): ditto * gui/gnome-cal.c (client_cal_opened_cb): ditto * gui/e-tasks.c (cal_opened_cb): ditto * gui/e-itip-control.c (default_server_started_cb): ditto * gui/e-cal-model.c (cal_opened_cb): ditto * gui/comp-editor-factory.c (cal_opened_cb): ditto svn path=/trunk/; revision=23286 --- calendar/gui/gnome-cal.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'calendar/gui/gnome-cal.c') diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index 3e00a714ce..a034c4d4fb 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -1785,7 +1785,7 @@ update_e_cal_view_timeout (gpointer data) } static void -client_cal_opened_cb (ECal *client, ECalOpenStatus status, gpointer data) +client_cal_opened_cb (ECal *client, ECalendarStatus status, gpointer data) { GnomeCalendar *gcal; GnomeCalendarPrivate *priv; @@ -1796,7 +1796,7 @@ client_cal_opened_cb (ECal *client, ECalOpenStatus status, gpointer data) priv = gcal->priv; switch (status) { - case E_CAL_OPEN_SUCCESS: + case E_CALENDAR_STATUS_OK: /* Set the client's default timezone, if we have one. */ if (priv->zone) { /* FIXME Error checking */ @@ -1823,20 +1823,20 @@ client_cal_opened_cb (ECal *client, ECalOpenStatus status, gpointer data) add_alarms (e_cal_get_uri (client)); break; - case E_CAL_OPEN_ERROR: + case E_CALENDAR_STATUS_OTHER_ERROR: open_error (gcal, e_cal_get_uri (client)); break; - case E_CAL_OPEN_NOT_FOUND: + case E_CALENDAR_STATUS_NO_SUCH_CALENDAR: /* bullshit; we did not specify only_if_exists */ g_assert_not_reached (); return; - case E_CAL_OPEN_METHOD_NOT_SUPPORTED: + case E_CALENDAR_STATUS_PROTOCOL_NOT_SUPPORTED: method_error (gcal, e_cal_get_uri (client)); break; - case E_CAL_OPEN_PERMISSION_DENIED : + case E_CALENDAR_STATUS_PERMISSION_DENIED : permission_error (gcal, e_cal_get_uri (client)); break; -- cgit