Patch: set sent messages as seen



	Hi,

	This patch sets sent messages seen flag just before moving the message
to sentbox folder.

	This way, all sent messages are added as already marked as seen in
sentbox folders (at least the new mails sent after this change).

-- 
Jose Dapena Paz <jdapena igalia com>
Igalia
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 3067)
+++ ChangeLog	(working copy)
@@ -1,3 +1,9 @@
+2007-12-04  Jose Dapena Paz  <jdapena igalia com>
+
+	* libtinymail-camel/tny-camel-send-queue.c:
+	Mark all sent messages as seen just before moving them
+	to sentbox.
+
 2007-12-03  Lo�Minier  <lool dooz org>
 
 	* m4/moz.m4 (AC_TNY_MOZ_CHECK):
Index: libtinymail-camel/tny-camel-send-queue.c
===================================================================
--- libtinymail-camel/tny-camel-send-queue.c	(revision 3067)
+++ libtinymail-camel/tny-camel-send-queue.c	(working copy)
@@ -422,6 +422,7 @@
 				{
 					GError *newerr = NULL;
 					priv->cur_i = i;
+					tny_header_set_flag (header, TNY_HEADER_FLAG_SEEN);
 					tny_folder_transfer_msgs (outbox, hassent, sentbox, TRUE, &newerr);
 					if (newerr != NULL) 
 					{


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