aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-component.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/calendar-component.c')
-rw-r--r--calendar/gui/calendar-component.c4
1 files changed, 3 insertions, 1 deletions
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);