[evolution-patches] Re: patch to set status "deleted" (e_gw_item.c)



sorry! missed the patch attachment
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/servers/groupwise/ChangeLog,v
retrieving revision 1.122
diff -u -p -r1.122 ChangeLog
--- ChangeLog	9 Feb 2005 04:13:33 -0000	1.122
+++ ChangeLog	16 Feb 2005 09:57:29 -0000
@@ -1,3 +1,9 @@
+2005-02-16 Vivek Jain <jvivek novell com>
+	
+	* e_gw_item.c : (set_recipient_list_from_soap_parameter)
+		      : (e_gw_item_new_from_soap_parameter)
+	set appropriate status for "deleted" items
+
 2005-02-09  Chenthill Palanisamy  <pchenthill novell com>
 
 	* e-gw-connection.c: (e_gw_connection_new):
Index: e-gw-item.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/servers/groupwise/e-gw-item.c,v
retrieving revision 1.71
diff -u -p -r1.71 e-gw-item.c
--- e-gw-item.c	9 Feb 2005 04:13:33 -0000	1.71
+++ e-gw-item.c	16 Feb 2005 09:57:30 -0000
@@ -549,7 +549,7 @@ set_recipient_list_from_soap_parameter (
 
 			recipient->status_enabled = TRUE;
        			if ( (temp_param = soup_soap_parameter_get_first_child_by_name (subparam, "deleted")) ) {
-				recipient->status = E_GW_ITEM_STAT_DECLINED;
+				recipient->status = E_GW_ITEM_STAT_DELETED;
 				value = soup_soap_parameter_get_string_value (temp_param);
 				formatted_date = e_gw_connection_format_date_string (value);
 				recipient->deleted_date = g_strdup (formatted_date);
@@ -1634,7 +1634,7 @@ e_gw_item_new_from_soap_parameter (const
 				else if (!strcmp (status_name, "declined"))
 					item->priv->self_status |= E_GW_ITEM_STAT_DECLINED;
 				else if (!strcmp (status_name, "deleted"))
-					item->priv->self_status |= E_GW_ITEM_STAT_DECLINED;
+					item->priv->self_status |= E_GW_ITEM_STAT_DELETED;
 				else if (!strcmp (status_name, "read")) 
 					item->priv->self_status |= E_GW_ITEM_STAT_READ;
 				else if (!strcmp (status_name, "opened"))


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