[evolution-data-server] Do not unset the deleted flag while copying mails across folders



commit eabbe77ac623927bcd2f68f173cacbb8373379f1
Author: Chenthill Palanisamy <pchenthill novell com>
Date:   Tue Nov 23 02:00:39 2010 +0530

    Do not unset the deleted flag while copying mails across folders

 camel/camel-folder.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index 43b30d0..826cc5e 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -381,8 +381,8 @@ folder_transfer_message_to (CamelFolder *source,
 	} else
 		info = camel_message_info_new_from_header (NULL, ((CamelMimePart *)msg)->headers);
 
-	/* we don't want to retain the deleted flag */
-	camel_message_info_set_flags (info, CAMEL_MESSAGE_DELETED, 0);
+	/* FIXME decide this based on the source folder */
+//	camel_message_info_set_flags (info, CAMEL_MESSAGE_DELETED, 0);
 
 	camel_folder_append_message_sync (
 		dest, msg, info, transferred_uid,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]