From 6b59973a546b5982126abace3bf3fe5374160610 Mon Sep 17 00:00:00 2001 From: Carsten Guenther Date: Sun, 21 Aug 2005 01:46:18 +0000 Subject: Put back in warning messages about calendar not being opened. 2005-08-20 Carsten Guenther * itip-formatter.c: (cal_opened_cb, final_cal_opened_cb): Put back in warning messages about calendar not being opened. svn path=/trunk/; revision=30172 --- plugins/itip-formatter/ChangeLog | 5 +++++ plugins/itip-formatter/itip-formatter.c | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog index 2f0abd9d44..efbc1d7d25 100644 --- a/plugins/itip-formatter/ChangeLog +++ b/plugins/itip-formatter/ChangeLog @@ -1,3 +1,8 @@ +2005-08-20 Carsten Guenther + + * itip-formatter.c: (cal_opened_cb, final_cal_opened_cb): + Put back in warning messages about calendar not being opened. + 2005-08-18 Carsten Guenther * itip-formatter.c: (update_attendee_status): NULL-terminate diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index 452529df32..f34aedd4f4 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -270,6 +270,10 @@ cal_opened_cb (ECal *ecal, ECalendarStatus status, gpointer data) if (status != E_CALENDAR_STATUS_OK) { d(printf ("Failed opening itip formatter calendar '%s' during non-search opening\n", e_source_peek_name (source))); + itip_view_add_lower_info_item_printf (ITIP_VIEW (pitip->view), + ITIP_VIEW_INFO_ITEM_TYPE_WARNING, + "Failed to load the calendar '%s'", + e_source_peek_name (source)); g_hash_table_remove (pitip->ecals[source_type], e_source_peek_uid (source)); return; } @@ -375,6 +379,10 @@ find_cal_opened_cb (ECal *ecal, ECalendarStatus status, gpointer data) * to find the item, this won't be cleared but the * selector might be shown */ d(printf ("Failed opening itip formatter calendar '%s' during search opening... ", e_source_peek_name (source))); + itip_view_add_lower_info_item_printf (ITIP_VIEW (pitip->view), + ITIP_VIEW_INFO_ITEM_TYPE_WARNING, + "Failed to load the calendar '%s'", + e_source_peek_name (source)); g_hash_table_remove (pitip->ecals[source_type], e_source_peek_uid (source)); goto cleanup; } -- cgit v1.2.3