diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/calendar-component.c | 4 |
2 files changed, 8 insertions, 1 deletions
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 <ldinesh@novell.com> + + Fixes #314922, 311694, 314918 + * calendar-component.c (create_new_event): Set the USER_ORG and MEETING flag properly. + 2005-08-24 Chenthill Palanisamy <pchenthill@novell.com> 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); |