From 4a30b4362ec6f0c0596687dce3df0025faae9e3d Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Mon, 14 May 2007 03:57:38 +0000 Subject: Fix for #325965 svn path=/trunk/; revision=33527 --- plugins/mark-all-read/ChangeLog | 6 ++++++ plugins/mark-all-read/mark-all-read.c | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/mark-all-read/ChangeLog b/plugins/mark-all-read/ChangeLog index b9fa48bbde..5b26b39b42 100644 --- a/plugins/mark-all-read/ChangeLog +++ b/plugins/mark-all-read/ChangeLog @@ -1,3 +1,9 @@ +2007-05-14 Srinivasa Ragavan + + ** Fix for bug #325965 from Ilkka Tuohela + + * mark-all-read.c: (mar_got_folder): + 2007-04-02 Sankar P * Committed on behalf of Gilles Dartiguelongue diff --git a/plugins/mark-all-read/mark-all-read.c b/plugins/mark-all-read/mark-all-read.c index 872a3565e4..0d8760f537 100644 --- a/plugins/mark-all-read/mark-all-read.c +++ b/plugins/mark-all-read/mark-all-read.c @@ -71,13 +71,14 @@ mar_got_folder (char *uri, CamelFolder *folder, void *data) guint32 flags = CAMEL_STORE_FOLDER_INFO_RECURSIVE | CAMEL_STORE_FOLDER_INFO_FAST; camel_exception_init (&ex); - store = folder->parent_store; - info = camel_store_get_folder_info (store, folder->full_name, flags, &ex); /* FIXME we have to disable the menu item */ if (!folder) return; + store = folder->parent_store; + info = camel_store_get_folder_info (store, folder->full_name, flags, &ex); + if (camel_exception_is_set (&ex)) { camel_exception_clear (&ex); return; -- cgit