aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-10-20 07:32:05 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-10-20 07:32:05 +0800
commit0068dbb435fdf6cfbb16b8348b0bfdc75db084e6 (patch)
treea9e4278f062e6228669fbd8aaf83482375c515ac
parenta4c585d56c72bac9cd44f25dde3058edf8e09afd (diff)
downloadgsoc2013-evolution-0068dbb435fdf6cfbb16b8348b0bfdc75db084e6.tar.gz
gsoc2013-evolution-0068dbb435fdf6cfbb16b8348b0bfdc75db084e6.tar.zst
gsoc2013-evolution-0068dbb435fdf6cfbb16b8348b0bfdc75db084e6.zip
If the destination folder is the vfolder source folder, then
2001-10-19 Jeffrey Stedfast <fejj@ximian.com> * camel-vtrash-folder.c (vtrash_move_messages_to): If the destination folder is the vfolder source folder, then set_message_flags on it. svn path=/trunk/; revision=13814
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/camel-vtrash-folder.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 1458ba8b12..ad335db84f 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+2001-10-19 Jeffrey Stedfast <fejj@ximian.com>
+
+ * camel-vtrash-folder.c (vtrash_move_messages_to): If the
+ destination folder is the vfolder source folder, then
+ set_message_flags on it.
+
2001-10-19 <NotZed@Ximian.com>
* camel-session.c (register_provider): When registering provider,
diff --git a/camel/camel-vtrash-folder.c b/camel/camel-vtrash-folder.c
index 8b39fe9717..aae346ff7f 100644
--- a/camel/camel-vtrash-folder.c
+++ b/camel/camel-vtrash-folder.c
@@ -132,7 +132,7 @@ vtrash_move_messages_to (CamelFolder *source, GPtrArray *uids, CamelFolder *dest
if (dest == mi->folder) {
/* Just undelete the original message */
- CF_CLASS (dest)->set_message_flags (dest, uids->pdata[i], CAMEL_MESSAGE_DELETED, 0);
+ camel_folder_set_message_flags (source, uids->pdata[i], CAMEL_MESSAGE_DELETED, 0);
} else {
/* This means that the user is trying to move the message
from the vTrash to a folder other than the original. */