aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-vfolder.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-vfolder.c')
-rw-r--r--mail/mail-vfolder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c
index d0d9997203..951bcc51e7 100644
--- a/mail/mail-vfolder.c
+++ b/mail/mail-vfolder.c
@@ -956,6 +956,9 @@ vfolder_load_storage(void)
g_signal_connect(context, "rule_added", G_CALLBACK(context_rule_added), context);
g_signal_connect(context, "rule_removed", G_CALLBACK(context_rule_removed), context);
+ /* load store to mail component */
+ mail_component_load_store_by_uri (mail_component_peek (), storeuri, _("Search Folders"));
+
/* and setup the rules we have */
rule = NULL;
while ( (rule = rule_context_next_rule((RuleContext *)context, rule, NULL)) ) {
@@ -966,9 +969,6 @@ vfolder_load_storage(void)
d(printf("invalid rule (%p) encountered: rule->name is NULL\n", rule));
}
- /* load store to mail component at the end, when everything is loaded */
- mail_component_load_store_by_uri (mail_component_peek (), storeuri, _("Search Folders"));
-
g_free(storeuri);
/* reenable the feature if required */