From 993d4910c16bc1f8cf1d0b2ad69f8b4ea324f7f7 Mon Sep 17 00:00:00 2001 From: Tim Piessens Date: Fri, 25 Nov 2011 14:36:42 +0100 Subject: Bug #616561 - Don't check read-only calendars in the itip-formatter --- plugins/itip-formatter/itip-formatter.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index 0d80086342..7a66508500 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -1009,6 +1009,13 @@ find_cal_opened_cb (GObject *source_object, g_return_if_fail (E_IS_CAL_CLIENT (client)); + /* Do not process read-only calendars */ + if (e_client_is_readonly (client)) { + g_object_unref (client); + decrease_find_data (fd); + return; + } + cal_client = E_CAL_CLIENT (client); source_type = e_cal_client_get_source_type (cal_client); -- cgit