diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mark-all-read/ChangeLog | 6 | ||||
-rw-r--r-- | plugins/mark-all-read/mark-all-read.c | 5 |
2 files changed, 9 insertions, 2 deletions
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 <sragavan@novell.com> + + ** Fix for bug #325965 from Ilkka Tuohela + + * mark-all-read.c: (mar_got_folder): + 2007-04-02 Sankar P <psankar@novell.com> * Committed on behalf of Gilles Dartiguelongue <dartigug@esiee.fr> 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; |