aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-01-16 19:34:38 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-01-16 19:34:38 +0800
commit4925fa6b14a54d282d3250d1e134b7bae31665cf (patch)
treea0f16c5198295102eda6acbd4c57e1c6edebd439 /mail
parent282f0adede26c8083a6745560caf08991b26c194 (diff)
downloadgsoc2013-evolution-4925fa6b14a54d282d3250d1e134b7bae31665cf.tar.gz
gsoc2013-evolution-4925fa6b14a54d282d3250d1e134b7bae31665cf.tar.zst
gsoc2013-evolution-4925fa6b14a54d282d3250d1e134b7bae31665cf.zip
** Fix for bug #509697
2008-01-16 Milan Crha <mcrha@redhat.com> ** Fix for bug #509697 * mail-vfolder.c: (vfolder_edit): Ensure search folders are running before calling anything from this. svn path=/trunk/; revision=34838
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/mail-vfolder.c4
2 files changed, 11 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index cf6ad7cf89..f21ec45370 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2008-01-16 Milan Crha <mcrha@redhat.com>
+
+ ** Fix for bug #509697
+
+ * mail-vfolder.c: (vfolder_edit):
+ Ensure search folders are running before calling anything from this.
+
2008-01-14 Kjartan Maraas <kmaraas@gnome.org>
* evolution-mail.schemas.in: Add missing punctuation.
diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c
index c240826b68..14655a769f 100644
--- a/mail/mail-vfolder.c
+++ b/mail/mail-vfolder.c
@@ -1001,6 +1001,10 @@ vfolder_edit (void)
return;
}
+ /* ensures vfolder is running */
+ if (!vfolder_loaded ())
+ vfolder_load_storage ();
+
vfolder_editor = GTK_WIDGET (em_vfolder_editor_new (context));
gtk_window_set_title (GTK_WINDOW (vfolder_editor), _("Search Folders"));
g_signal_connect(vfolder_editor, "response", G_CALLBACK(em_vfolder_editor_response), NULL);