Re: [evolution-patches] Exchange calendar patch
- From: Sushma Rai <rsushma novell com>
- To: Sarfraaz Ahmed <asarfraaz novell com>
- Cc: asdf <evolution-patches lists ximian com>
- Subject: Re: [evolution-patches] Exchange calendar patch
- Date: Thu, 10 Feb 2005 13:24:34 +0530
Looks fine to me.
-Sushma.
Sarfraaz Ahmed wrote:
This is for #70283.
We need to be setting the TRANSP property based on the busy status
value. Also, fixed a small memory leak in receive_objects.
Thanks
-- Sarfraaz
------------------------------------------------------------------------
? calendar/e-cal-backend-exchange-calendar.c.printf
? calendar/e-cal-backend-exchange.h.surf
? calendar/patch
Index: calendar/e-cal-backend-exchange-calendar.c
===================================================================
RCS file: /cvs/gnome/evolution-exchange/calendar/e-cal-backend-exchange-calendar.c,v
retrieving revision 1.33
diff -u -p -u -r1.33 e-cal-backend-exchange-calendar.c
--- calendar/e-cal-backend-exchange-calendar.c 2 Feb 2005 13:01:46 -0000 1.33
+++ calendar/e-cal-backend-exchange-calendar.c 9 Feb 2005 13:13:10 -0000
@@ -118,11 +118,14 @@ add_vevent (ECalBackendExchange *cbex,
icalcomponent_set_dtend (icalcomp, itt);
}
- if (!strcmp (x_name, "X-MICROSOFT-CDO-BUSYSTATUS") && !transp) {
+ if (!strcmp (x_name, "X-MICROSOFT-CDO-BUSYSTATUS")) {
/* It seems OWA sometimes doesn't set the
* TRANSP property, so set it from the busy
* status.
*/
+ if (transp)
+ icalcomponent_remove_property (comp,transp);
+
if (!strcmp (x_val, "BUSY"))
transp = icalproperty_new_transp (ICAL_TRANSP_OPAQUE);
else if (!strcmp (x_val, "FREE"))
@@ -1396,6 +1399,7 @@ receive_objects (ECalBackendSync *backen
g_object_unref (comp);
}
g_list_free (comps);
+ return status;
error:
if (comp)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]