aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-09-08 04:00:03 +0800
committerDan Winship <danw@src.gnome.org>2000-09-08 04:00:03 +0800
commit1b3a2114eed8a2d2fee8fa0ad3056d5685730c25 (patch)
tree18d79eb0e28703db1054a231970d3c48607c0aa2 /mail/component-factory.c
parent1fb4f1bfee3badccac9419a6115aefa34ab8f6b1 (diff)
downloadgsoc2013-evolution-1b3a2114eed8a2d2fee8fa0ad3056d5685730c25.tar.gz
gsoc2013-evolution-1b3a2114eed8a2d2fee8fa0ad3056d5685730c25.tar.zst
gsoc2013-evolution-1b3a2114eed8a2d2fee8fa0ad3056d5685730c25.zip
Pass a storage dir to camel_session_new now.
* session.c (session_init): Pass a storage dir to camel_session_new now. * main.c (main): Can't call session_init here now, because it requires evolution_dir to be set. * component-factory.c (owner_set_cb): call session_init here. svn path=/trunk/; revision=5240
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 608328c133..c874cdeec9 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -115,7 +115,8 @@ owner_set_cb (EvolutionShellComponent *shell_component,
g_print ("evolution-mail: Yeeeh! We have an owner!\n"); /* FIXME */
evolution_dir = g_strdup (evolution_homedir);
-
+ session_init ();
+
mail_config_init ();
mail_do_setup_folder ("Drafts", &drafts_folder);
mail_do_setup_folder ("Outbox", &outbox_folder);