[evolution/wip/gsettings] Do not always ask for migration to maildir
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/gsettings] Do not always ask for migration to maildir
- Date: Wed, 29 Jun 2011 16:49:05 +0000 (UTC)
commit cb83f7e4032b9cb32653bbdaf392f5db008b5558
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]