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
This commit is contained in:
Jeffrey Stedfast
2001-10-19 23:32:05 +00:00
committed by Jeffrey Stedfast
parent a4c585d56c
commit 0068dbb435
2 changed files with 7 additions and 1 deletions

View File

@ -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,

View File

@ -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. */