aboutsummaryrefslogtreecommitdiffstats
path: root/mail/importers
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-10-05 04:02:00 +0800
committerIain Holmes <iain@src.gnome.org>2001-10-05 04:02:00 +0800
commit664206faba6f5a196f9c4f2c51b542f9c2bc41e0 (patch)
treef6ebad16f42a74bca2e250073008b2fba4087474 /mail/importers
parente46018cd8879979f96ea8445691d9dbaeb22aacf (diff)
downloadgsoc2013-evolution-664206faba6f5a196f9c4f2c51b542f9c2bc41e0.tar.gz
gsoc2013-evolution-664206faba6f5a196f9c4f2c51b542f9c2bc41e0.tar.zst
gsoc2013-evolution-664206faba6f5a196f9c4f2c51b542f9c2bc41e0.zip
Only create the folder when the shell has created it.
svn path=/trunk/; revision=13420
Diffstat (limited to 'mail/importers')
-rw-r--r--mail/importers/evolution-mbox-importer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/importers/evolution-mbox-importer.c b/mail/importers/evolution-mbox-importer.c
index 23fce7eb7a..9cdf6fa732 100644
--- a/mail/importers/evolution-mbox-importer.c
+++ b/mail/importers/evolution-mbox-importer.c
@@ -269,7 +269,7 @@ load_file_fn (EvolutionImporter *eimporter,
fullpath = e_path_to_physical (homedir, folderpath);
ex = camel_exception_new ();
- importer->folder = mail_tool_uri_to_folder (fullpath, CAMEL_STORE_FOLDER_CREATE, ex);
+ importer->folder = mail_tool_uri_to_folder (fullpath, 0, ex);
g_free (homedir);
if (camel_exception_is_set (ex) || importer->folder == NULL) {
@@ -300,7 +300,7 @@ load_file_fn (EvolutionImporter *eimporter,
}
if (importer->folder == NULL && delayed == FALSE){
- g_print ("Bad folder\n");
+ g_warning ("Bad folder\n");
goto fail;
}