aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-05-28 02:23:58 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-05-28 02:23:58 +0800
commit8630c2df1797f27ad07a106ffe5208f63b9f1543 (patch)
tree8e18966c40454623e9a81a43d69dd8149581237f
parentfa5ca24c7d4bf99369941b92adc3c48b0a4d0542 (diff)
downloadgsoc2013-evolution-8630c2df1797f27ad07a106ffe5208f63b9f1543.tar.gz
gsoc2013-evolution-8630c2df1797f27ad07a106ffe5208f63b9f1543.tar.zst
gsoc2013-evolution-8630c2df1797f27ad07a106ffe5208f63b9f1543.zip
** fix for bug #325965 from Ilkka Tuohela
svn path=/branches/gnome-2-18/; revision=33589
-rw-r--r--plugins/mark-all-read/ChangeLog6
-rw-r--r--plugins/mark-all-read/mark-all-read.c5
2 files changed, 9 insertions, 2 deletions
diff --git a/plugins/mark-all-read/ChangeLog b/plugins/mark-all-read/ChangeLog
index 02cd5a4bcb..5b50905682 100644
--- a/plugins/mark-all-read/ChangeLog
+++ b/plugins/mark-all-read/ChangeLog
@@ -1,3 +1,9 @@
+2007-05-27 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** fix for bug #325965 from Ilkka Tuohela
+
+ * mark-all-read.c: (mar_got_folder):
+
2007-04-03 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 fc4c558b0e..9a19c27ef9 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;