diff options
author | Milan Crha <mcrha@redhat.com> | 2010-12-01 20:12:01 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-12-01 20:14:10 +0800 |
commit | 932c26e897c1cc76aa41a7f51634cc485af54655 (patch) | |
tree | d30f52128c4c8237673b6b9ad3cd4a8841e3b6e0 /mail | |
parent | 5549b3311ff09e4ea83eeedd5e48e16e5530a0d3 (diff) | |
download | gsoc2013-evolution-932c26e897c1cc76aa41a7f51634cc485af54655.tar.gz gsoc2013-evolution-932c26e897c1cc76aa41a7f51634cc485af54655.tar.zst gsoc2013-evolution-932c26e897c1cc76aa41a7f51634cc485af54655.zip |
Do not create local_mbox when user denied maildir migration
Diffstat (limited to 'mail')
-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); |