aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorCarsten Guenther <carsten.guenther@scalix.com>2005-08-21 09:46:18 +0800
committerCarsten Guenther <carsteng@src.gnome.org>2005-08-21 09:46:18 +0800
commit6b59973a546b5982126abace3bf3fe5374160610 (patch)
tree79a7bb442c7294e5d7cb5308dd81711c9257050a /plugins
parentd17f1ae8809282406f69bcfee402c65513235004 (diff)
downloadgsoc2013-evolution-6b59973a546b5982126abace3bf3fe5374160610.tar
gsoc2013-evolution-6b59973a546b5982126abace3bf3fe5374160610.tar.gz
gsoc2013-evolution-6b59973a546b5982126abace3bf3fe5374160610.tar.bz2
gsoc2013-evolution-6b59973a546b5982126abace3bf3fe5374160610.tar.lz
gsoc2013-evolution-6b59973a546b5982126abace3bf3fe5374160610.tar.xz
gsoc2013-evolution-6b59973a546b5982126abace3bf3fe5374160610.tar.zst
gsoc2013-evolution-6b59973a546b5982126abace3bf3fe5374160610.zip
Put back in warning messages about calendar not being opened.
2005-08-20 Carsten Guenther <carsten.guenther@scalix.com> * 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
Diffstat (limited to 'plugins')
-rw-r--r--plugins/itip-formatter/ChangeLog5
-rw-r--r--plugins/itip-formatter/itip-formatter.c8
2 files changed, 13 insertions, 0 deletions
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 <carsten.guenther@scalix.com>
+
+ * 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 <carsten.guenther@scalix.com>
* 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;
}