aboutsummaryrefslogtreecommitdiffstats
path: root/mail/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/session.c')
-rw-r--r--mail/session.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/session.c b/mail/session.c
index 09416b0825..e3dcbd541b 100644
--- a/mail/session.c
+++ b/mail/session.c
@@ -189,9 +189,13 @@ remove_callback (guint handle)
void
session_init (void)
{
+ char *camel_dir;
+
camel_init ();
- session = camel_session_new (auth_callback, register_callback,
- remove_callback);
+ camel_dir = g_strdup_printf ("%s/mail", evolution_dir);
+ session = camel_session_new (camel_dir, auth_callback,
+ register_callback, remove_callback);
+ g_free (camel_dir);
}
static gboolean