aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-12-02 20:56:49 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:06 +0800
commitcb83f7e4032b9cb32653bbdaf392f5db008b5558 (patch)
tree56297d96cdb7497448f54d513a919a8e90c938c1 /mail
parent356c056292bfa1ab1035cb42a9fd72f1e5fc9884 (diff)
downloadgsoc2013-evolution-cb83f7e4032b9cb32653bbdaf392f5db008b5558.tar.gz
gsoc2013-evolution-cb83f7e4032b9cb32653bbdaf392f5db008b5558.tar.zst
gsoc2013-evolution-cb83f7e4032b9cb32653bbdaf392f5db008b5558.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')
-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;
}