[evolution-patches] GroupWise Proxy - New Items appearing as read



Hi,

Attached with this mail is the patch to add a "peek" to the getItems
view, so that the new items wont appear as read. This was not done
before due to a server interface's problem, which is fixed in SP1.

Fixes #309993. Please review.

Thanks,
Sankar 
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/ChangeLog,v
retrieving revision 1.109
diff -u -p -r1.109 ChangeLog
--- ChangeLog	2 Sep 2005 08:55:43 -0000	1.109
+++ ChangeLog	6 Sep 2005 06:27:38 -0000
@@ -1,3 +1,9 @@
+2005-09-06  Sankar P  <psankar novell com>
+
+	* camel-groupwise-folder.c (groupwise_refresh_folder):
+	Added peek so that the unread status of mails dont get changed for a proxy account.
+	Fixes #309993
+		
 2005-09-02 Vivek Jain <jvivek novell com>
 	
 	* camel-groupwise-folder.c: (groupwise_folder_item_to_msg)
Index: camel-groupwise-folder.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/camel-groupwise-folder.c,v
retrieving revision 1.93
diff -u -p -r1.93 camel-groupwise-folder.c
--- camel-groupwise-folder.c	2 Sep 2005 08:55:43 -0000	1.93
+++ camel-groupwise-folder.c	6 Sep 2005 06:27:39 -0000
@@ -841,7 +841,7 @@ groupwise_refresh_folder(CamelFolder *fo
 	/*Done....should refresh now.....*/
 
 	if (!strcmp (folder->full_name, "Trash") || is_proxy) {
-		status = e_gw_connection_get_items (cnc, container_id, "recipient distribution created attachments subject status size", NULL, &list);
+		status = e_gw_connection_get_items (cnc, container_id, "peek recipient distribution created attachments subject status size", NULL, &list);
 		if (status != E_GW_CONNECTION_STATUS_OK) {
 			if (status ==E_GW_CONNECTION_STATUS_OTHER) {
 				g_warning ("Trash full....Empty Trash!!!!\n");


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