[evolution-patches] patch to fix #302963 (gw-mailer)



hi,

The attached patch fixes bug
http://bugzilla.gnome.org/show_bug.cgi?id=302963

Status tracking should be enabled for all the items, unless user changed
them.

Thanks,
Vivek Jain
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/ChangeLog,v
retrieving revision 1.86
diff -u -p -r1.86 ChangeLog
--- ChangeLog	9 Aug 2005 08:23:24 -0000	1.86
+++ ChangeLog	9 Aug 2005 11:53:10 -0000
@@ -1,4 +1,10 @@
 2005-08-09 Vivek Jain <jvivek novell com>
+	
+	* camel-groupwise-utils.c : (camel_groupwise_util_item_from_message)
+	enable status tracking options by default, unless user modified them.
+	**Fixes #302963
+
+2005-08-09 Vivek Jain <jvivek novell com>
 
 	* camel-groupwise-utils.c : (camel_groupwise_util_item_from_message)
 	check for the content type, Message can be none other than text/plain,
Index: camel-groupwise-utils.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/camel-groupwise-utils.c,v
retrieving revision 1.16
diff -u -p -r1.16 camel-groupwise-utils.c
--- camel-groupwise-utils.c	9 Aug 2005 08:23:24 -0000	1.16
+++ camel-groupwise-utils.c	9 Aug 2005 11:53:10 -0000
@@ -486,6 +486,9 @@ camel_groupwise_util_item_from_message (
 		e_gw_item_set_delay_until (item, send_options);
 
 	send_options = (char *)camel_medium_get_header (CAMEL_MEDIUM(message), X_TRACK_WHEN);
+
+	/*we check if user has modified the status tracking options, if no then we anyway 
+	 * set status tracking all*/
 	if (send_options) {
 		switch (atoi(send_options)) {
 			case 1: e_gw_item_set_track_info (item, E_GW_ITEM_DELIVERED);
@@ -497,7 +500,8 @@ camel_groupwise_util_item_from_message (
 			default: e_gw_item_set_track_info (item, E_GW_ITEM_NONE);
 				 break;
 		}
-	}
+	} else
+		e_gw_item_set_track_info (item, E_GW_ITEM_ALL);
 
 	if ((char *)camel_medium_get_header (CAMEL_MEDIUM(message), X_AUTODELETE))
 		e_gw_item_set_autodelete (item, TRUE);


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