aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-08-16 18:39:28 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-08-16 18:39:28 +0800
commit6ee27498e11e532a971cbb10659d754a7c2a577d (patch)
treea2981d1a380a5fcd190610f97c3dfe70845d56ee /mail
parent15644eabdf761526d5f1cd45899241c94cbc5a9d (diff)
downloadgsoc2013-evolution-6ee27498e11e532a971cbb10659d754a7c2a577d.tar
gsoc2013-evolution-6ee27498e11e532a971cbb10659d754a7c2a577d.tar.gz
gsoc2013-evolution-6ee27498e11e532a971cbb10659d754a7c2a577d.tar.bz2
gsoc2013-evolution-6ee27498e11e532a971cbb10659d754a7c2a577d.tar.lz
gsoc2013-evolution-6ee27498e11e532a971cbb10659d754a7c2a577d.tar.xz
gsoc2013-evolution-6ee27498e11e532a971cbb10659d754a7c2a577d.tar.zst
gsoc2013-evolution-6ee27498e11e532a971cbb10659d754a7c2a577d.zip
** Fix for bug #467198
svn path=/trunk/; revision=34016
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/mail-component.c3
2 files changed, 10 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 40b73a1225..ffdd76426a 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2007-08-16 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fix for bug #467198
+
+ * mail-component.c: (enable_folder_tree): Initialize the camel
+ exception.
+
2007-08-16 Johnny Jacob <jjohnny@novell.com>
** Fix for #364431.
diff --git a/mail/mail-component.c b/mail/mail-component.c
index b9b1e4247a..47196b3626 100644
--- a/mail/mail-component.c
+++ b/mail/mail-component.c
@@ -656,6 +656,8 @@ enable_folder_tree (GtkWidget *emfb, GtkWidget *emft)
CamelException ex;
EMFolderView *emfv = (EMFolderView *)emfb;
+ camel_exception_init (&ex);
+
/* Currently displayed folder */
MessageList *ml = emfv->list;
folder = ml->folder;
@@ -667,6 +669,7 @@ enable_folder_tree (GtkWidget *emfb, GtkWidget *emft)
folder = mail_tool_uri_to_folder (uri, 0, &ex);
selected_curl = camel_url_new (uri, NULL);
+ camel_exception_clear (&ex);
if (!camel_url_equal (selected_curl, current_curl))
g_signal_emit_by_name (emft, "folder-selected", emft, uri, folder->full_name, uri, folder->folder_flags);