diff options
author | Milan Crha <mcrha@redhat.com> | 2010-12-01 20:12:01 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:05 +0800 |
commit | 4339bd7ecbcf92e44b1ea16b02447485583a498d (patch) | |
tree | 4e7efb73a2a835b49067d02b41dbc74daa3de2b5 | |
parent | 0cb4f364e3b72fe048aebcc5bb09cb3c2a91f594 (diff) | |
download | gsoc2013-evolution-4339bd7ecbcf92e44b1ea16b02447485583a498d.tar.gz gsoc2013-evolution-4339bd7ecbcf92e44b1ea16b02447485583a498d.tar.zst gsoc2013-evolution-4339bd7ecbcf92e44b1ea16b02447485583a498d.zip |
Do not create local_mbox when user denied maildir migration
-rw-r--r-- | 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 ffecec17ee..24df69420f 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); |