[evolution-patches] Partial fix for bug #67031



Hi,
   Have attached a partial fix for the bug. Changed the comparision of
the completed element from "TRUE" to "1" while getting the item from the
server.

thanks, chenthill

Index: servers/groupwise/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/servers/groupwise/ChangeLog,v
retrieving revision 1.69
diff -u -p -r1.69 ChangeLog
--- servers/groupwise/ChangeLog	5 Oct 2004 11:27:30 -0000	1.69
+++ servers/groupwise/ChangeLog	6 Oct 2004 07:47:54 -0000
@@ -1,3 +1,10 @@
+2004-10-06  Chenthill Palanisamy <pchenthill novell com>
+
+	Partially Fixes #67031
+	* e-gw-item.c (e_gw_item_new_from_soap_parameter):
+	Get the value of the completed element comparing with 
+	the string "1" instead of "TRUE".
+
 2004-10-04  Chenthill Palanisamy <pchenthill novell com>
 
 	Fixes #66484
Index: servers/groupwise/e-gw-item.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/servers/groupwise/e-gw-item.c,v
retrieving revision 1.46
diff -u -p -r1.46 e-gw-item.c
--- servers/groupwise/e-gw-item.c	8 Sep 2004 11:34:13 -0000	1.46
+++ servers/groupwise/e-gw-item.c	6 Oct 2004 07:47:55 -0000
@@ -1346,7 +1346,7 @@ e_gw_item_new_from_soap_parameter (const
 
 		} else if (!g_ascii_strcasecmp (name, "completed")) {
 			value = soup_soap_parameter_get_string_value (child);
-			if (!g_ascii_strcasecmp (value, "true"))
+			if (!g_ascii_strcasecmp (value, "1"))
 				item->priv->completed = TRUE;
 			else
 				item->priv->completed = FALSE;


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