diff options
author | Milan Crha <mcrha@redhat.com> | 2009-04-02 22:32:12 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2009-04-02 22:32:12 +0800 |
commit | 075eec29600290b43cd8a37710888a9aa5c2ae0b (patch) | |
tree | 0fe450e714acf084bdafe8aa87c123ab8c5cb2db /calendar | |
parent | a07f872b61b1c7a2f0dd77627c879caa8dc52601 (diff) | |
download | gsoc2013-evolution-075eec29600290b43cd8a37710888a9aa5c2ae0b.tar.gz gsoc2013-evolution-075eec29600290b43cd8a37710888a9aa5c2ae0b.tar.zst gsoc2013-evolution-075eec29600290b43cd8a37710888a9aa5c2ae0b.zip |
** Fix for bug #577717
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.
svn path=/trunk/; revision=37489
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 8 | ||||
-rw-r--r-- | calendar/gui/dialogs/alarm-dialog.c | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index c75fad74f1..1048dde990 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,11 @@ +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. + 2009-03-06 Milan Crha <mcrha@redhat.com> ** Fix for bug #401346 diff --git a/calendar/gui/dialogs/alarm-dialog.c b/calendar/gui/dialogs/alarm-dialog.c index 2f1393d70f..984c1b756f 100644 --- a/calendar/gui/dialogs/alarm-dialog.c +++ b/calendar/gui/dialogs/alarm-dialog.c @@ -220,6 +220,9 @@ alarm_to_dialog (Dialog *dialog) 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 @@ malarm_widgets_to_alarm (Dialog *dialog, ECalComponentAlarm *alarm) 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); } |