aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2005-09-02 21:58:02 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-09-02 21:58:02 +0800
commit232502f5fc67e67dc88f47059a41896d1d38da45 (patch)
tree3cf813870cae7e09d29e69f0f8d60a928720fcfd
parent687671a733d89e98ce2301a21425e25216200456 (diff)
downloadgsoc2013-evolution-232502f5fc67e67dc88f47059a41896d1d38da45.tar
gsoc2013-evolution-232502f5fc67e67dc88f47059a41896d1d38da45.tar.gz
gsoc2013-evolution-232502f5fc67e67dc88f47059a41896d1d38da45.tar.bz2
gsoc2013-evolution-232502f5fc67e67dc88f47059a41896d1d38da45.tar.lz
gsoc2013-evolution-232502f5fc67e67dc88f47059a41896d1d38da45.tar.xz
gsoc2013-evolution-232502f5fc67e67dc88f47059a41896d1d38da45.tar.zst
gsoc2013-evolution-232502f5fc67e67dc88f47059a41896d1d38da45.zip
Fixes 314922.
svn path=/trunk/; revision=30306
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/calendar-component.c4
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);