diff options
author | Tim Piessens <piessens@icsense.com> | 2011-11-25 21:36:42 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-11-25 21:36:42 +0800 |
commit | 993d4910c16bc1f8cf1d0b2ad69f8b4ea324f7f7 (patch) | |
tree | cf8b1b9698e0120ff27a5a423abcc5e304a7d015 /plugins | |
parent | eabcec7ecf6ab774f382c3b1336883bebb5077c2 (diff) | |
download | gsoc2013-evolution-993d4910c16bc1f8cf1d0b2ad69f8b4ea324f7f7.tar gsoc2013-evolution-993d4910c16bc1f8cf1d0b2ad69f8b4ea324f7f7.tar.gz gsoc2013-evolution-993d4910c16bc1f8cf1d0b2ad69f8b4ea324f7f7.tar.bz2 gsoc2013-evolution-993d4910c16bc1f8cf1d0b2ad69f8b4ea324f7f7.tar.lz gsoc2013-evolution-993d4910c16bc1f8cf1d0b2ad69f8b4ea324f7f7.tar.xz gsoc2013-evolution-993d4910c16bc1f8cf1d0b2ad69f8b4ea324f7f7.tar.zst gsoc2013-evolution-993d4910c16bc1f8cf1d0b2ad69f8b4ea324f7f7.zip |
Bug #616561 - Don't check read-only calendars in the itip-formatter
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 7 |
1 files changed, 7 insertions, 0 deletions
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); |