diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-10-16 04:27:49 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-10-16 04:27:49 +0800 |
commit | f2a00a74bc94a940f0db7d424999ec66a7a486cd (patch) | |
tree | 1bbc7aa267e8e39fab20d8d58f688f0dbfc7e8bd | |
parent | c17ecff2170a09736718442c42d26bae5f43e6fd (diff) | |
download | gsoc2013-evolution-f2a00a74bc94a940f0db7d424999ec66a7a486cd.tar.gz gsoc2013-evolution-f2a00a74bc94a940f0db7d424999ec66a7a486cd.tar.zst gsoc2013-evolution-f2a00a74bc94a940f0db7d424999ec66a7a486cd.zip |
renamed delete_originals to move. clearer. cleaner. shorter. not as ugly.
svn path=/trunk/; revision=27601
-rw-r--r-- | camel/providers/imap4/camel-imap4-folder.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/camel/providers/imap4/camel-imap4-folder.c b/camel/providers/imap4/camel-imap4-folder.c index 81296985bc..9fc12fea2b 100644 --- a/camel/providers/imap4/camel-imap4-folder.c +++ b/camel/providers/imap4/camel-imap4-folder.c @@ -66,7 +66,7 @@ static CamelMimeMessage *imap4_get_message (CamelFolder *folder, const char *uid static void imap4_append_message (CamelFolder *folder, CamelMimeMessage *message, const CamelMessageInfo *info, char **appended_uid, CamelException *ex); static void imap4_transfer_messages_to (CamelFolder *src, GPtrArray *uids, CamelFolder *dest, - GPtrArray **transferred_uids, gboolean delete_originals, CamelException *ex); + GPtrArray **transferred_uids, gboolean move, CamelException *ex); static GPtrArray *imap4_search_by_expression (CamelFolder *folder, const char *expr, CamelException *ex); static GPtrArray *imap4_search_by_uids (CamelFolder *folder, const char *expr, GPtrArray *uids, CamelException *ex); static void imap4_search_free (CamelFolder *folder, GPtrArray *uids); @@ -884,7 +884,7 @@ info_uid_sort (const CamelMessageInfo **info0, const CamelMessageInfo **info1) static void imap4_transfer_messages_to (CamelFolder *src, GPtrArray *uids, CamelFolder *dest, - GPtrArray **transferred_uids, gboolean delete_originals, CamelException *ex) + GPtrArray **transferred_uids, gboolean move, CamelException *ex) { CamelIMAP4Engine *engine = ((CamelIMAP4Store *) src->parent_store)->engine; int i, j, n, id, dest_namelen; @@ -931,7 +931,7 @@ imap4_transfer_messages_to (CamelFolder *src, GPtrArray *uids, CamelFolder *dest switch (ic->result) { case CAMEL_IMAP4_RESULT_NO: /* FIXME: would be good to save the NO reason into the err message */ - if (delete_originals) { + if (move) { camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM, _("Cannot move messages from folder `%s' to folder `%s': Unknown"), src->full_name, dest->full_name); @@ -943,7 +943,7 @@ imap4_transfer_messages_to (CamelFolder *src, GPtrArray *uids, CamelFolder *dest goto done; case CAMEL_IMAP4_RESULT_BAD: - if (delete_originals) { + if (move) { camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM, _("Cannot move messages from folder `%s' to folder `%s': Bad command"), src->full_name, dest->full_name); @@ -958,7 +958,7 @@ imap4_transfer_messages_to (CamelFolder *src, GPtrArray *uids, CamelFolder *dest camel_imap4_command_unref (ic); - if (delete_originals) { + if (move) { for (j = i; j < n; j++) { info = infos->pdata[j]; camel_folder_set_message_flags (src, camel_message_info_uid (info), |