diff options
author | Dan Winship <danw@src.gnome.org> | 2002-05-11 00:46:04 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2002-05-11 00:46:04 +0800 |
commit | cf18d0940f9abbe8bb032d08a0fb33067def30d7 (patch) | |
tree | c949128284ce4c049db4a3a2945f8cfc3deb1e3e /mail/mail-local.c | |
parent | 6952dcb7c0821d705fad562ff5b96613b7c7b248 (diff) | |
download | gsoc2013-evolution-cf18d0940f9abbe8bb032d08a0fb33067def30d7.tar.gz gsoc2013-evolution-cf18d0940f9abbe8bb032d08a0fb33067def30d7.tar.zst gsoc2013-evolution-cf18d0940f9abbe8bb032d08a0fb33067def30d7.zip |
Simplify. Use transfer_messages_to instead of picking between copy and
* mail-ops.c (transfer_messages_transfer): Simplify. Use
transfer_messages_to instead of picking between copy and move.
Remove vtrash special-casing since it's all in
camel-vtrash-folder.c now. Remove duplicate source == dest check.
* mail-local.c (mail_local_folder_reconfigure): Use
transfer_messages_to instead of copy_messages_to.
svn path=/trunk/; revision=16745
Diffstat (limited to 'mail/mail-local.c')
-rw-r--r-- | mail/mail-local.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-local.c b/mail/mail-local.c index a90d4ae15f..98a2c78e6f 100644 --- a/mail/mail-local.c +++ b/mail/mail-local.c @@ -686,7 +686,7 @@ mail_local_folder_reconfigure (MailLocalFolder *mlf, const char *new_format, int camel_folder_freeze(mlf->real_folder); uids = camel_folder_get_uids(fromfolder); - camel_folder_move_messages_to(fromfolder, uids, mlf->real_folder, ex); + camel_folder_transfer_messages_to(fromfolder, uids, mlf->real_folder, TRUE, ex); camel_folder_free_uids(fromfolder, uids); if (camel_exception_is_set(ex)) goto cleanup; |