From 378422f6e180da04a033a2783d7806a848f90385 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 2 Oct 2001 22:45:24 +0000 Subject: Pass an empty flags argument to mail_transfer_messages - destination 2001-10-02 Jeffrey Stedfast * mail-callbacks.c (transfer_msg): Pass an empty flags argument to mail_transfer_messages - destination folder should already be created by this point. * folder-browser.c (message_list_drag_data_received): Pass an empty flags argument to mail_transfer_messages. (selection_received): Same. * component-factory.c (xfer_folder): Pass the CREATE flag to mail_transfer_messages() so that the dest folder gets created. (destination_folder_handle_drop): Update for mail-ops API change. * mail-ops.c (mail_transfer_messages): Now takes a dest_flags argument that it passes along to mail_tool_uri_to_folder when opening the destination folder. svn path=/trunk/; revision=13357 --- mail/component-factory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail/component-factory.c') diff --git a/mail/component-factory.c b/mail/component-factory.c index b34fcc77d9..bec7eb70c5 100644 --- a/mail/component-factory.c +++ b/mail/component-factory.c @@ -338,7 +338,7 @@ xfer_folder (EvolutionShellComponent *shell_component, uids = camel_folder_get_uids (source); mail_transfer_messages (source, uids, remove_source, destination_physical_uri, - xfer_folder_done, xfd); + CAMEL_STORE_FOLDER_CREATE, xfer_folder_done, xfd); camel_object_unref (CAMEL_OBJECT (source)); } else GNOME_Evolution_ShellComponentListener_notifyResult (listener, GNOME_Evolution_ShellComponentListener_INVALID_URI, &ev); @@ -575,7 +575,7 @@ destination_folder_handle_drop (EvolutionShellComponentDndDestinationFolder *des mail_transfer_messages (folder, uids, action == GNOME_Evolution_ShellComponentDnd_ACTION_MOVE, - physical_uri, NULL, NULL); + physical_uri, 0, NULL, NULL); camel_object_unref (CAMEL_OBJECT (folder)); break; -- cgit v1.2.3