From 0fc9f8ca076e699ac1c60c8f6534227467ee0dff Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Sat, 17 Dec 2011 15:41:24 +0100 Subject: [PATCH] =?utf8?q?Impostate=202=20propriet=C3=A0=20per=20la=20vers?= =?utf8?q?ione=203.2=20di=20evolution-data-server=20in=20SolipaMail.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/camelsession.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/camelsession.c b/src/camelsession.c index 5bddf9a..1c0c1d8 100644 --- a/src/camelsession.c +++ b/src/camelsession.c @@ -40,7 +40,12 @@ solipa_camel_session_new (const gchar *path) CamelSession *session; session = g_object_new (SOLIPA_TYPE_CAMEL_SESSION, NULL); -#ifndef CAMEL3 +#ifdef CAMEL3 + g_object_set (G_OBJECT (session), + "user-data-dir", path, + "user-cache-dir", path, + NULL); +#else camel_session_construct (session, path); #endif -- 2.49.0