[calendar:gui] fix for bug #311694

View: New views
2 Messages — Rating Filter:   Alert me  

[calendar:gui] fix for bug #311694

by Dinesh Layek :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...>
+
+ * 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@...>
 
  * gui/e-cal-model-calendar.c:

_______________________________________________
evolution maillist  -  evolution@...
http://lists.ximian.com/mailman/listinfo/evolution

Re: [calendar:gui] fix for bug #311694

by Chenthill-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

looks fine to commit on both the branches.

thanks, Chenthill.

On Fri, 2005-08-19 at 03:50 -0600, Dinesh Layek wrote:

> hi,
> attached patch is the fix for bug#311694.
> please review.
>
> Regards,
> Dinesh
>
> _______________________________________________
> evolution maillist  -  evolution@...
> http://lists.ximian.com/mailman/listinfo/evolution
_______________________________________________
evolution maillist  -  evolution@...
http://lists.ximian.com/mailman/listinfo/evolution