[evolution-patches] [calendar] patch for bug #309679



attached patch fixes bug#309679
please review

Regards,
Dinesh Layek

Index: e-cal-backend-groupwise-utils.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/backends/groupwise/e-cal-backend-groupwise-utils.c,v
retrieving revision 1.66
diff -u -p -r1.66 e-cal-backend-groupwise-utils.c
--- e-cal-backend-groupwise-utils.c	19 Sep 2005 07:21:06 -0000	1.66
+++ e-cal-backend-groupwise-utils.c	22 Sep 2005 06:29:56 -0000
@@ -1024,8 +1024,12 @@ e_gw_item_to_cal_component (EGwItem *ite
 			 * for getting cutype and the status */
 			attendee->cutype = ICAL_CUTYPE_INDIVIDUAL;
 			 
-			if (recipient->status == E_GW_ITEM_STAT_ACCEPTED)
-				attendee->status = ICAL_PARTSTAT_ACCEPTED;
+			if (recipient->status == E_GW_ITEM_STAT_ACCEPTED) {
+				if(!strcmp(e_gw_item_get_accept_level(item),"Tentative"))
+					attendee->status = ICAL_PARTSTAT_TENTATIVE;
+				else
+					attendee->status = ICAL_PARTSTAT_ACCEPTED;
+			}
 			else if (recipient->status == E_GW_ITEM_STAT_DECLINED)
 				attendee->status = ICAL_PARTSTAT_DECLINED;
 			else
Index: ../../ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/ChangeLog,v
retrieving revision 1.513
diff -u -p -r1.513 ChangeLog
--- ../../ChangeLog	19 Sep 2005 07:22:19 -0000	1.513
+++ ../../ChangeLog	22 Sep 2005 06:29:57 -0000
@@ -1,3 +1,9 @@
+2005-09-22  Dinesh Layek  <ldinesh novell com>
+
+	Fixes #309679
+	* backends/groupwise/e-cal-backend-groupwise-utils.c:
+	(e_gw_item_to_cal_component): Check accept_level
+
 2005-09-12  Chenthill Palanisamy  <pchenthill novell com>
 
 	Fixes #116162


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