From da5ee1322a7291df242ddc4e59fd410fae7e4d1d Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Thu, 24 Mar 2005 08:34:12 +0000 Subject: Fixes #73508 Set the organizers status as NEEDS ACTION, checking for the 2005-03-24 Chenthill Palanisamy Fixes #73508 * gui/dialogs/meeting-page.c: (meeting_page_fill_widgets): Set the organizers status as NEEDS ACTION, checking for the static capability. svn path=/trunk/; revision=29096 --- calendar/ChangeLog | 6 ++++++ calendar/gui/dialogs/meeting-page.c | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index d29f42237a..f06766e40c 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2005-03-24 Chenthill Palanisamy + + Fixes #73508 + * gui/dialogs/meeting-page.c: (meeting_page_fill_widgets): Set the + organizers status as NEEDS ACTION, checking for the static capability. + 2005-03-16 Li Yuan * gui/calendar-view.c: (calendar_view_class_init): diff --git a/calendar/gui/dialogs/meeting-page.c b/calendar/gui/dialogs/meeting-page.c index de66095724..5846e81652 100644 --- a/calendar/gui/dialogs/meeting-page.c +++ b/calendar/gui/dialogs/meeting-page.c @@ -397,7 +397,10 @@ meeting_page_fill_widgets (CompEditorPage *page, ECalComponent *comp) e_meeting_attendee_set_address (priv->ia, g_strdup_printf ("MAILTO:%s", a->id->address)); e_meeting_attendee_set_cn (priv->ia, g_strdup (a->id->name)); - e_meeting_attendee_set_status (priv->ia, ICAL_PARTSTAT_ACCEPTED); + if (page->client && e_cal_get_organizer_must_accept (page->client)) + e_meeting_attendee_set_status (priv->ia, ICAL_PARTSTAT_NEEDSACTION); + else + e_meeting_attendee_set_status (priv->ia, ICAL_PARTSTAT_ACCEPTED); } } -- cgit v1.2.3