Commit ae68fa9b authored by Matthew Barnes's avatar Matthew Barnes
Browse files

em_migrate_session_new(): Provide a user cache directory.

parent 51fe71bd
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment