aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-migrate.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-12-02 20:56:49 +0800
committerMilan Crha <mcrha@redhat.com>2010-12-02 20:56:49 +0800
commit4ab4abecde472fb1be21e5a7b0965019c837b11e (patch)
treeaec8dcca660ce0d9aa82424e4b55215aa859982a /mail/e-mail-migrate.c
parentcda5e5498b457c2f3bfb939a0093a477500312b2 (diff)
downloadgsoc2013-evolution-4ab4abecde472fb1be21e5a7b0965019c837b11e.tar.gz
gsoc2013-evolution-4ab4abecde472fb1be21e5a7b0965019c837b11e.tar.zst
gsoc2013-evolution-4ab4abecde472fb1be21e5a7b0965019c837b11e.zip
Do not always ask for migration to maildir
One can downgrade GConf key /apps/evolution/last_version to something below 2.92.0 and he/she will be asked again.
Diffstat (limited to 'mail/e-mail-migrate.c')
-rw-r--r--mail/e-mail-migrate.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/e-mail-migrate.c b/mail/e-mail-migrate.c
index 24df69420f..22586488d4 100644
--- a/mail/e-mail-migrate.c
+++ b/mail/e-mail-migrate.c
@@ -1165,8 +1165,10 @@ e_mail_migrate (EShellBackend *shell_backend,
em_ensure_proxy_ignore_hosts_being_list ();
}
- if (!migrate_local_store (shell_backend))
- return FALSE;
+ if (major < 2 || (major == 2 && minor < 92)) {
+ if (!migrate_local_store (shell_backend))
+ return FALSE;
+ }
return TRUE;
}