aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2005-03-24 16:34:12 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-03-24 16:34:12 +0800
commitda5ee1322a7291df242ddc4e59fd410fae7e4d1d (patch)
treef4b723f1dc3b58bc59fe4db814ec68fa1454d8fe
parent7b64ef0f638c7b775ffb8aecc7db771189b09ccd (diff)
downloadgsoc2013-evolution-da5ee1322a7291df242ddc4e59fd410fae7e4d1d.tar
gsoc2013-evolution-da5ee1322a7291df242ddc4e59fd410fae7e4d1d.tar.gz
gsoc2013-evolution-da5ee1322a7291df242ddc4e59fd410fae7e4d1d.tar.bz2
gsoc2013-evolution-da5ee1322a7291df242ddc4e59fd410fae7e4d1d.tar.lz
gsoc2013-evolution-da5ee1322a7291df242ddc4e59fd410fae7e4d1d.tar.xz
gsoc2013-evolution-da5ee1322a7291df242ddc4e59fd410fae7e4d1d.tar.zst
gsoc2013-evolution-da5ee1322a7291df242ddc4e59fd410fae7e4d1d.zip
Fixes #73508 Set the organizers status as NEEDS ACTION, checking for the
2005-03-24 Chenthill Palanisamy <pchenthill@novell.com> 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
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/dialogs/meeting-page.c5
2 files changed, 10 insertions, 1 deletions
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 <pchenthill@novell.com>
+
+ 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 <li.yuan@sun.com>
* 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);
}
}