aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-04-02 22:32:12 +0800
committerMilan Crha <mcrha@src.gnome.org>2009-04-02 22:32:12 +0800
commit075eec29600290b43cd8a37710888a9aa5c2ae0b (patch)
tree0fe450e714acf084bdafe8aa87c123ab8c5cb2db /calendar/gui
parenta07f872b61b1c7a2f0dd77627c879caa8dc52601 (diff)
downloadgsoc2013-evolution-075eec29600290b43cd8a37710888a9aa5c2ae0b.tar
gsoc2013-evolution-075eec29600290b43cd8a37710888a9aa5c2ae0b.tar.gz
gsoc2013-evolution-075eec29600290b43cd8a37710888a9aa5c2ae0b.tar.bz2
gsoc2013-evolution-075eec29600290b43cd8a37710888a9aa5c2ae0b.tar.lz
gsoc2013-evolution-075eec29600290b43cd8a37710888a9aa5c2ae0b.tar.xz
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/gui')
-rw-r--r--calendar/gui/dialogs/alarm-dialog.c6
1 files changed, 6 insertions, 0 deletions
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);
}