aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-utils.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-01-24 19:06:21 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-01-24 19:06:21 +0800
commit8e8d332b85b56b98e1f7d8d977170403fe1a42d5 (patch)
tree3e5587629b352246ca0bd459e2d2568e57e84d49 /mail/em-folder-utils.c
parentd5ec942afbcd814dbe6f9adaa0bf4d31b7b1b26a (diff)
downloadgsoc2013-evolution-8e8d332b85b56b98e1f7d8d977170403fe1a42d5.tar.gz
gsoc2013-evolution-8e8d332b85b56b98e1f7d8d977170403fe1a42d5.tar.zst
gsoc2013-evolution-8e8d332b85b56b98e1f7d8d977170403fe1a42d5.zip
** Part of bug #511488
2008-01-24 Milan Crha <mcrha@redhat.com> ** Part of bug #511488 * mail/mail-vfolder.h: * mail/mail-vfolder.c: (vfolder_loaded): Function dropped. * mail/mail-vfolder.c: (vfolder_load_storage): Allow to call this function more than once, but do load the storage only once. * mail/em-folder-utils.c: (emfu_popup_new_folder_response): * mail/mail-vfolder.c: (vfolder_edit), (vfolder_gui_add_rule), (vfolder_gui_add_from_message), (vfolder_gui_add_from_address): * mail/em-folder-browser.c: (emfb_search_menu_activated): * mail/em-folder-view.c: (emp_uri_popup_vfolder_sender), (emp_uri_popup_vfolder_recipient), (vfolder_type_current): Ensure vfolder is running. * plugins/groupwise-features/share-folder-common.c: (users_dialog_response): The logic to check if vfolder is running has been changed, so reflect it here too. svn path=/trunk/; revision=34878
Diffstat (limited to 'mail/em-folder-utils.c')
-rw-r--r--mail/em-folder-utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mail/em-folder-utils.c b/mail/em-folder-utils.c
index e66213f9d6..d030731a90 100644
--- a/mail/em-folder-utils.c
+++ b/mail/em-folder-utils.c
@@ -711,8 +711,7 @@ emfu_popup_new_folder_response (EMFolderSelector *emfs, int response, gpointer d
EMVFolderRule *rule;
/* ensures vfolder is running */
- if (!vfolder_loaded ())
- vfolder_load_storage ();
+ vfolder_load_storage ();
rule = em_vfolder_rule_new();
filter_rule_set_name((FilterRule *)rule, path);