From cb83f7e4032b9cb32653bbdaf392f5db008b5558 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 2 Dec 2010 13:56:49 +0100 Subject: 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. --- mail/e-mail-migrate.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mail') 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; } -- cgit