[evolution] Do not always ask for migration to maildir



commit 4ab4abecde472fb1be21e5a7b0965019c837b11e
Author: Milan Crha <mcrha redhat com>
Date:   Thu Dec 2 13:56:49 2010 +0100

    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 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/mail/e-mail-migrate.c b/mail/e-mail-migrate.c
index 24df694..2258648 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;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]