evolution r37489 - in trunk/calendar: . gui/dialogs



Author: mcrha
Date: Thu Apr  2 14:32:12 2009
New Revision: 37489
URL: http://svn.gnome.org/viewvc/evolution?rev=37489&view=rev

Log:
2009-04-02  Milan Crha  <mcrha redhat com>

	** Fix for bug #577717

	* gui/dialogs/alarm-dialog.c: (alarm_to_dialog),
	(malarm_widgets_to_alarm): Fill some default values
	to mandatory properties of ECalComponentAttendee.



Modified:
   trunk/calendar/ChangeLog
   trunk/calendar/gui/dialogs/alarm-dialog.c

Modified: trunk/calendar/gui/dialogs/alarm-dialog.c
==============================================================================
--- trunk/calendar/gui/dialogs/alarm-dialog.c	(original)
+++ trunk/calendar/gui/dialogs/alarm-dialog.c	Thu Apr  2 14:32:12 2009
@@ -220,6 +220,9 @@
 
 		a = g_new0 (ECalComponentAttendee, 1);
 		a->value = email;
+		a->cutype = ICAL_CUTYPE_INDIVIDUAL;
+		a->status = ICAL_PARTSTAT_NEEDSACTION;
+		a->role = ICAL_ROLE_REQPARTICIPANT;
 		attendee_list.data = a;
 		attendee_list.next = NULL;
 		e_cal_component_alarm_set_attendee_list (dialog->alarm, &attendee_list);
@@ -429,6 +432,9 @@
 		a = g_new0 (ECalComponentAttendee, 1);
 		a->value = e_destination_get_email (dest);
 		a->cn = e_destination_get_name (dest);
+		a->cutype = ICAL_CUTYPE_INDIVIDUAL;
+		a->status = ICAL_PARTSTAT_NEEDSACTION;
+		a->role = ICAL_ROLE_REQPARTICIPANT;
 
 		attendee_list = g_slist_append (attendee_list, a);
 	}



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