aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 643878c89d..92e61e9096 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -240,10 +240,9 @@ create_vfolder_storage (EvolutionShellComponent *shell_component)
int i, count;
char *user, *system;
- fe = filter_driver_new();
user = g_strdup_printf ("%s/vfolders.xml", evolution_dir);
system = g_strdup_printf("%s/evolution/vfoldertypes.xml", EVOLUTION_DATADIR);
- filter_driver_set_rules(fe, system, user);
+ fe = filter_driver_new(user, system, mail_uri_to_folder);
g_free(user);
g_free(system);
count = filter_driver_rule_count(fe);