aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-07-03 07:18:17 +0800
committerDan Winship <danw@src.gnome.org>2000-07-03 07:18:17 +0800
commit480cd7ee7618d5e8b3ce1c57a40f7e90cc4b26a7 (patch)
tree93ac2d5faa523ff68639e890a0e895283a6e744a /mail/component-factory.c
parentf1701f224d58f8a0b49da23d85cf425e303cc6ec (diff)
downloadgsoc2013-evolution-480cd7ee7618d5e8b3ce1c57a40f7e90cc4b26a7.tar.gz
gsoc2013-evolution-480cd7ee7618d5e8b3ce1c57a40f7e90cc4b26a7.tar.zst
gsoc2013-evolution-480cd7ee7618d5e8b3ce1c57a40f7e90cc4b26a7.zip
Pass mail_uri_to_folder and rules to filter_driver_new.
* mail-ops.c (real_fetch_mail): (vfolder_editor_clicked): * component-factory.c (create_vfolder_storage): Pass mail_uri_to_folder and rules to filter_driver_new. svn path=/trunk/; revision=3860
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);