evolution-data-server r9881 - in trunk/calendar: . backends/groupwise



Author: msuman
Date: Wed Jan  7 05:26:44 2009
New Revision: 9881
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9881&view=rev

Log:
Part of fix for bug #443544 (bugzilla.novell.com) - Also set the start/end times of the Free/Busy range.

Modified:
   trunk/calendar/ChangeLog
   trunk/calendar/backends/groupwise/e-cal-backend-groupwise-utils.c

Modified: trunk/calendar/backends/groupwise/e-cal-backend-groupwise-utils.c
==============================================================================
--- trunk/calendar/backends/groupwise/e-cal-backend-groupwise-utils.c	(original)
+++ trunk/calendar/backends/groupwise/e-cal-backend-groupwise-utils.c	Wed Jan  7 05:26:44 2009
@@ -1785,6 +1785,7 @@
 		ECalComponentAttendee attendee;
 		GSList *attendee_list = NULL;
 		icalcomponent *icalcomp = NULL;
+		icaltimetype start_time, end_time;
 
 		tmp = soup_soap_parameter_get_first_child_by_name (subparam, "email");
 		if (tmp)
@@ -1801,6 +1802,11 @@
 		e_cal_component_commit_sequence (comp);
 		icalcomp = e_cal_component_get_icalcomponent (comp);
 
+		start_time = icaltime_from_timet_with_zone (start, 0, default_zone ? default_zone : NULL);
+		end_time = icaltime_from_timet_with_zone (end, 0, default_zone ? default_zone : NULL);
+		icalcomponent_set_dtstart (icalcomp, start_time);
+		icalcomponent_set_dtend (icalcomp, end_time);
+
 		memset (&attendee, 0, sizeof (ECalComponentAttendee));
 		if (name)
 			attendee.cn = name;



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