[evolution/wip/gsettings] Do not create local_mbox when user denied maildir migration
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/gsettings] Do not create local_mbox when user denied maildir migration
- Date: Wed, 29 Jun 2011 16:48:45 +0000 (UTC)
commit 4339bd7ecbcf92e44b1ea16b02447485583a498d
Author: Milan Crha <mcrha redhat com>
Date: Wed Dec 1 13:12:01 2010 +0100
Do not create local_mbox when user denied maildir migration
mail/e-mail-migrate.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/mail/e-mail-migrate.c b/mail/e-mail-migrate.c
index ffecec1..24df694 100644
--- a/mail/e-mail-migrate.c
+++ b/mail/e-mail-migrate.c
@@ -1046,11 +1046,12 @@ migrate_local_store (EShellBackend *shell_backend)
session = (EMMigrateSession *) em_migrate_session_new (data_dir);
camel_session_set_online ((CamelSession *) session, FALSE);
- if (migrate == GTK_RESPONSE_YES)
+ if (migrate == GTK_RESPONSE_YES) {
ret = migrate_mbox_to_maildir (shell_backend, session);
- if (ret)
- create_mbox_account (shell_backend, session);
+ if (ret)
+ create_mbox_account (shell_backend, session);
+ }
g_unlink (migrating_file_flag);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]