aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-vtrash-folder.c
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 /camel/camel-vtrash-folder.c
parenta4c585d56c72bac9cd44f25dde3058edf8e09afd (diff)
downloadgsoc2013-evolution-0068dbb435fdf6cfbb16b8348b0bfdc75db084e6.tar
gsoc2013-evolution-0068dbb435fdf6cfbb16b8348b0bfdc75db084e6.tar.gz
gsoc2013-evolution-0068dbb435fdf6cfbb16b8348b0bfdc75db084e6.tar.bz2
gsoc2013-evolution-0068dbb435fdf6cfbb16b8348b0bfdc75db084e6.tar.lz
gsoc2013-evolution-0068dbb435fdf6cfbb16b8348b0bfdc75db084e6.tar.xz
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
Diffstat (limited to 'camel/camel-vtrash-folder.c')
-rw-r--r--camel/camel-vtrash-folder.c2
1 files changed, 1 insertions, 1 deletions
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. */