aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-08-09 19:09:42 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-08-09 19:17:16 +0800
commitae68fa9b843eab73c82cd99fb53cb11a5229a1ce (patch)
treed465c57a71dcb5ec17bd8725c9f29dd877988a9e /mail
parent51fe71bdb2275308b34d944ed030dd2ebb60ef91 (diff)
downloadgsoc2013-evolution-ae68fa9b843eab73c82cd99fb53cb11a5229a1ce.tar
gsoc2013-evolution-ae68fa9b843eab73c82cd99fb53cb11a5229a1ce.tar.gz
gsoc2013-evolution-ae68fa9b843eab73c82cd99fb53cb11a5229a1ce.tar.bz2
gsoc2013-evolution-ae68fa9b843eab73c82cd99fb53cb11a5229a1ce.tar.lz
gsoc2013-evolution-ae68fa9b843eab73c82cd99fb53cb11a5229a1ce.tar.xz
gsoc2013-evolution-ae68fa9b843eab73c82cd99fb53cb11a5229a1ce.tar.zst
gsoc2013-evolution-ae68fa9b843eab73c82cd99fb53cb11a5229a1ce.zip
em_migrate_session_new(): Provide a user cache directory.
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-migrate.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/e-mail-migrate.c b/mail/e-mail-migrate.c
index 857523f146..a1bf10f8d9 100644
--- a/mail/e-mail-migrate.c
+++ b/mail/e-mail-migrate.c
@@ -97,9 +97,16 @@ em_migrate_session_init (EMMigrateSession *session)
static EMMigrateSession *
em_migrate_session_new (const gchar *user_data_dir)
{
+ const gchar *user_cache_dir;
+
+ /* FIXME Really need to kill this function and
+ * get the cache dir from EShellBackend. */
+ user_cache_dir = mail_session_get_cache_dir ();
+
return g_object_new (
EM_TYPE_MIGRATE_SESSION,
- "user-data-dir", user_data_dir, NULL);
+ "user-data-dir", user_data_dir,
+ "user-cache-dir", user_cache_dir, NULL);
}
static GtkProgressBar *progress;