[evolution-ews] Add timezone to vcal component inside a cancellation email
- From: Or Goshen <ogosh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Add timezone to vcal component inside a cancellation email
- Date: Sun, 7 Aug 2011 07:45:55 +0000 (UTC)
commit 094f5913052b8c0d351a9c0bfb485f2cad0ff2d4
Author: Or Goshen <orx goshen intel com>
Date: Sun Aug 7 10:44:25 2011 +0300
Add timezone to vcal component inside a cancellation email
src/calendar/e-cal-backend-ews.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index cc43f86..2c3f202 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -2314,6 +2314,7 @@ ewscal_send_cancellation_email (EEwsConnection *cnc, CamelAddress *from, CamelIn
icalcomponent_add_property (vevent, icalproperty_new_status(ICAL_STATUS_CANCELLED));
prop = icalcomponent_get_first_property (vevent, ICAL_METHOD_PROPERTY);
if (prop != NULL) icalcomponent_remove_property (vevent, prop);
+ icalcomponent_add_component (vcal, icalcomponent_new_clone (icaltimezone_get_component ((icaltimezone *)icalcomponent_get_dtstart (vevent).zone)));
icalcomponent_add_component (vcal, vevent);
text_part = camel_mime_part_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]