From 232502f5fc67e67dc88f47059a41896d1d38da45 Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Fri, 2 Sep 2005 13:58:02 +0000 Subject: Fixes 314922. svn path=/trunk/; revision=30306 --- calendar/ChangeLog | 5 +++++ calendar/gui/calendar-component.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 82001eceb7..c8dd008191 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2005-09-01 Dinesh Layek + + Fixes #314922, 311694, 314918 + * calendar-component.c (create_new_event): Set the USER_ORG and MEETING flag properly. + 2005-08-24 Chenthill Palanisamy Fixes #313705 diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index 801c946248..02a8afaea7 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -1211,7 +1211,9 @@ create_new_event (CalendarComponent *calendar_component, CalendarComponentView * EventEditor *editor; CompEditorFlags flags; - flags |= COMP_EDITOR_MEETING | COMP_EDITOR_NEW_ITEM; + flags = COMP_EDITOR_USER_ORG | COMP_EDITOR_NEW_ITEM; + if (is_meeting) + flags |= COMP_EDITOR_MEETING; comp = cal_comp_event_new_with_current_time (ecal, is_allday); editor = event_editor_new (ecal, flags); e_cal_component_commit_sequence (comp); -- cgit v1.2.3