From 23e0e50fff7032da03d22ae75b7c13219ad063f7 Mon Sep 17 00:00:00 2001 From: Harish Krishnaswamy Date: Wed, 9 Feb 2005 14:37:48 +0000 Subject: Always remove the meeting and scheduling pages when there are no attendees. This allows the sender to be added to the attendees list by default while creating new meetings. svn path=/trunk/; revision=28756 --- calendar/ChangeLog | 7 +++++++ calendar/gui/dialogs/event-editor.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index a1d6e13364..2f8719f615 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2005-02-09 Harish Krishnaswamy + + * gui/dialogs/event-editor.c: (event_editor_edit_comp): + Always remove the meeting and scheduling pages when there are no + attendees. This allows the sender to be added to the attendees list + by default while creating new meetings. + 2005-02-08 Rodrigo Moya * gui/e-cal-model.c (set_instance_times): set instance times correctly. diff --git a/calendar/gui/dialogs/event-editor.c b/calendar/gui/dialogs/event-editor.c index 8b4c74da0f..2d72dfab06 100644 --- a/calendar/gui/dialogs/event-editor.c +++ b/calendar/gui/dialogs/event-editor.c @@ -217,7 +217,7 @@ event_editor_edit_comp (CompEditor *editor, ECalComponent *comp) e_meeting_store_remove_all_attendees (priv->model); /* Set up the attendees */ - if (attendees == NULL && !priv->is_meeting) { + if (attendees == NULL) { if (priv->meet_page) comp_editor_remove_page (editor, COMP_EDITOR_PAGE (priv->meet_page)); if (priv->sched_page) -- cgit v1.2.3