[evolution/gnome-3-4] em_migrate_session_new(): Provide a user cache directory.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-4] em_migrate_session_new(): Provide a user cache directory.
- Date: Thu, 9 Aug 2012 11:18:50 +0000 (UTC)
commit 4f49114880807965c716ed20c81cbf307075fa8f
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Aug 9 07:09:42 2012 -0400
em_migrate_session_new(): Provide a user cache directory.
(cherry picked from commit ae68fa9b843eab73c82cd99fb53cb11a5229a1ce)
mail/e-mail-migrate.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/mail/e-mail-migrate.c b/mail/e-mail-migrate.c
index ffc5f1a..6de187e 100644
--- a/mail/e-mail-migrate.c
+++ b/mail/e-mail-migrate.c
@@ -105,9 +105,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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]