[evolution-patches] [calendar] fix for bug #311694
- From: Dinesh Layek <LDinesh novell com>
- To: evolution-patches lists ximian com
- Subject: [evolution-patches] [calendar] fix for bug #311694
- Date: Fri, 19 Aug 2005 15:58:40 +0530
hi,
attached patch is the fix for bug#311694.
please review.
Regards,
Dinesh
Index: calendar-component.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/calendar-component.c,v
retrieving revision 1.206
diff -u -p -r1.206 calendar-component.c
--- calendar-component.c 11 Jul 2005 16:23:57 -0000 1.206
+++ calendar-component.c 19 Aug 2005 09:19:30 -0000
@@ -1211,7 +1211,9 @@ create_new_event (CalendarComponent *cal
EventEditor *editor;
CompEditorFlags flags;
- flags |= COMP_EDITOR_MEETING | COMP_EDITOR_NEW_ITEM;
+ flags |= 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);
Index: ../ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2781
diff -u -p -r1.2781 ChangeLog
--- ../ChangeLog 27 Jul 2005 10:53:37 -0000 1.2781
+++ ../ChangeLog 19 Aug 2005 09:20:23 -0000
@@ -1,3 +1,9 @@
+2005-08-19 Dinesh Layek <ldinesh novell com>
+
+ * gui/calendar-component.c:
+ (create_new_event): set COMP_EDITOR_MEETING only
+ when is_meeting is TRUE
+
2005-07-27 Mengjie Yu <meng-jie yu sun com>
* gui/e-cal-model-calendar.c:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]