aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-10-03 06:45:24 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-10-03 06:45:24 +0800
commit378422f6e180da04a033a2783d7806a848f90385 (patch)
treee8fdedc83622e2cebb693fcc3b9f5de1305c056a /mail/component-factory.c
parent3cfa7824a8c01c979621965131319a8073f064ed (diff)
downloadgsoc2013-evolution-378422f6e180da04a033a2783d7806a848f90385.tar.gz
gsoc2013-evolution-378422f6e180da04a033a2783d7806a848f90385.tar.zst
gsoc2013-evolution-378422f6e180da04a033a2783d7806a848f90385.zip
Pass an empty flags argument to mail_transfer_messages - destination
2001-10-02 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c4
1 files changed, 2 insertions, 2 deletions
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;