aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-browser.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-browser.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-browser.c')
-rw-r--r--mail/em-folder-browser.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c
index 716235a203..0ef7be078b 100644
--- a/mail/em-folder-browser.c
+++ b/mail/em-folder-browser.c
@@ -761,8 +761,7 @@ emfb_search_menu_activated(ESearchBar *esb, int id, EMFolderBrowser *emfb)
char *name, *text;
/* ensures vfolder is running */
- if (!vfolder_loaded ())
- vfolder_load_storage ();
+ vfolder_load_storage ();
rule = vfolder_clone_rule (efb->current_query);
text = e_search_bar_get_text(esb);