[evolution-patches] fix for the bug #312578 [calendar]



Hi,
   Have attached the fix for the bug.

thanks, chenthill.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/ChangeLog,v
retrieving revision 1.490
diff -u -p -r1.490 ChangeLog
--- ChangeLog	4 Aug 2005 16:42:14 -0000	1.490
+++ ChangeLog	8 Aug 2005 06:51:09 -0000
@@ -1,3 +1,11 @@
+2005-08-08  Chenthill Palanisamy  <pchenthill novell com>
+
+	Fixes #312578
+	* backends/groupwise/e-cal-backend-groupwise.c:
+	(e_cal_backend_groupwise_modify_object): Check the mod
+	type and send the appropriate parameters for delegate
+	request.
+	
 2005-08-04  Chenthill Palanisamy  <pchenthill novell com>
 
 	Fixes #305590
Index: backends/groupwise/e-cal-backend-groupwise.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/backends/groupwise/e-cal-backend-groupwise.c,v
retrieving revision 1.159
diff -u -p -r1.159 e-cal-backend-groupwise.c
--- backends/groupwise/e-cal-backend-groupwise.c	25 Jul 2005 13:55:59 -0000	1.159
+++ backends/groupwise/e-cal-backend-groupwise.c	8 Aug 2005 06:51:10 -0000
@@ -1829,11 +1829,20 @@ e_cal_backend_groupwise_modify_object (E
 		}
 
 		if (e_cal_backend_groupwise_utils_check_delegate (comp, e_gw_connection_get_user_email (priv->cnc))) {
+			const char *id = NULL, *recur_key = NULL;
+			
 			item = e_gw_item_new_for_delegate_from_cal (cbgw, comp);
-			status = e_gw_connection_delegate_request (priv->cnc, item, e_gw_item_get_id (item), NULL, NULL, NULL); 
+
+			if (mod == CALOBJ_MOD_ALL) {
+				recur_key = uid;
+			} else {
+				id = e_gw_item_get_id (item);
+			}
+
+			status = e_gw_connection_delegate_request (priv->cnc, item, id, NULL, NULL, recur_key); 
 		
 			if (status == E_GW_CONNECTION_STATUS_INVALID_CONNECTION)
-					status = e_gw_connection_delegate_request (priv->cnc, item, e_gw_item_get_id (item), NULL, NULL, NULL);
+					status = e_gw_connection_delegate_request (priv->cnc, item, id, NULL, NULL, recur_key);
 				
 				if (status != E_GW_CONNECTION_STATUS_OK) {
 					g_object_unref (comp);


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