diff options
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 6 | ||||
-rw-r--r-- | camel/camel-vtrash-folder.c | 2 |
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. */ |