diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-10-03 06:01:03 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-10-03 06:01:03 +0800 |
commit | 8d4f5ab1c8b538084e80ccee917168902f92b14e (patch) | |
tree | 6092c553c3222300a04002b953ad870c73409b10 /mail/importers | |
parent | c44b422cd64cd68a2d9b87261bdbe44fd0b61059 (diff) | |
download | gsoc2013-evolution-8d4f5ab1c8b538084e80ccee917168902f92b14e.tar.gz gsoc2013-evolution-8d4f5ab1c8b538084e80ccee917168902f92b14e.tar.zst gsoc2013-evolution-8d4f5ab1c8b538084e80ccee917168902f92b14e.zip |
Pass an empty flags argument to mail_tool_uri_to_folder.
2001-10-02 Jeffrey Stedfast <fejj@ximian.com>
* mail-vfolder.c (vfolder_setup_do): Pass an empty flags argument
to mail_tool_uri_to_folder.
(vfolder_adduri_do): Same.
* mail-session.c (get_folder): Pass an empty flags argument to
mail_tool_uri_to_folder.
* mail-send-recv.c (receive_get_folder): Pass an empty flags
argument to mail_tool_uri_to_folder.
* mail-ops.c (get_folder_get): Pass the flags to
mail_tool_uri_to_folder.
(mail_get_folder): Now takes a flags argument.
(remove_folder_get): Pass an empty flags argument to
mail_tool_uri_to_folder.
(mail_send_message): Pass an empty argument flag to
mail_tool_uri_to_folder.
(transfer_messages_transfer): Same. Destination folder should
already be created by this time.
* folder-info.c (do_get_info): Pass an empty flags argument to
mail_tool_uri_to_folder.
* importers/evolution-mbox-importer.c (folder_created_cb): Pass
the CREATE flag here too.
(load_file_fn): And here.
(load_file_fn): And here too.
* importers/evolution-outlook-importer.c (load_file_fn): Pass the
CREATE flag to mail_tool_uri_to_folder.
* folder-browser.c (folder_browser_new): Pass an empty flags
argument.
(x_evolution_message_parse): Pass an empty flags argument to
mail_tool_uri_to_folder.
* component-factory.c (create_folder): Pass a CREATE flag to
mail_get_folder here too.
(owner_set_cb): And here.
(xfer_folder): Shouldn't need the CREATE flag here, so not passing
any flags.
(destination_folder_handle_drop): Same.
* mail-local.c (mail_local_store_add_folder): Pass a CREATE flag
to mail_get_folder.
(reconfigure_folder_reconfigure): Pass an empty flags argument to
mail_tool_uri_to_folder.
* mail-tools.c (mail_tool_uri_to_folder): Take a flags argument.
(mail_tool_get_local_inbox): Pass an empty flags argument to
mail_tool_uri_to_folder.
svn path=/trunk/; revision=13353
Diffstat (limited to 'mail/importers')
-rw-r--r-- | mail/importers/evolution-mbox-importer.c | 6 | ||||
-rw-r--r-- | mail/importers/evolution-outlook-importer.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/mail/importers/evolution-mbox-importer.c b/mail/importers/evolution-mbox-importer.c index 5c3062236e..23fce7eb7a 100644 --- a/mail/importers/evolution-mbox-importer.c +++ b/mail/importers/evolution-mbox-importer.c @@ -204,7 +204,7 @@ folder_created_cb (BonoboListener *listener, fullpath = g_strconcat ("file://", result->path, NULL); ex = camel_exception_new (); - importer->folder = mail_tool_uri_to_folder (fullpath, ex); + importer->folder = mail_tool_uri_to_folder (fullpath, CAMEL_STORE_FOLDER_CREATE, ex); if (camel_exception_is_set (ex)) { g_warning ("Error opening %s", fullpath); @@ -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, ex); + importer->folder = mail_tool_uri_to_folder (fullpath, CAMEL_STORE_FOLDER_CREATE, ex); g_free (homedir); if (camel_exception_is_set (ex) || importer->folder == NULL) { @@ -291,7 +291,7 @@ load_file_fn (EvolutionImporter *eimporter, mail_importer_create_folder (parent, name, NULL, listener); camel_exception_free (ex); ex = camel_exception_new (); - importer->folder = mail_tool_uri_to_folder (fullpath, ex); + importer->folder = mail_tool_uri_to_folder (fullpath, CAMEL_STORE_FOLDER_CREATE, ex); delayed = TRUE; g_free (parent); } diff --git a/mail/importers/evolution-outlook-importer.c b/mail/importers/evolution-outlook-importer.c index 50e386a388..058c365d17 100644 --- a/mail/importers/evolution-outlook-importer.c +++ b/mail/importers/evolution-outlook-importer.c @@ -268,7 +268,7 @@ load_file_fn (EvolutionImporter *eimporter, if (folderpath == NULL || *folderpath == '\0') importer->folder = mail_tool_get_local_inbox (NULL); else - importer->folder = mail_tool_uri_to_folder (folderpath, NULL); + importer->folder = mail_tool_uri_to_folder (folderpath, CAMEL_STORE_FOLDER_CREATE, NULL); if (importer->folder == NULL){ g_warning ("Bad folder"); |