[evolution-patches] [calendar]: fix for bug #314922(Can't add meeting invitees on creating the Meeting request)



attached patch fixes bug#314922, bug#311694.

calendar-component.c (create_new_event)
   while creating a new event it sets the USER_ORG flag,  
   and the MEETING flag is set only when is_meeting is on.

Thanks,

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	1 Sep 2005 05:06:02 -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_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);
Index: ../ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2802
diff -u -p -r1.2802 ChangeLog
--- ../ChangeLog	25 Aug 2005 10:26:27 -0000	1.2802
+++ ../ChangeLog	1 Sep 2005 05:06:05 -0000
@@ -1,3 +1,8 @@
+2005-09-01  Dinesh Layek  <ldinesh novell com>
+
+	Fixes #314922, 311694
+	* calendar-component.c (create_new_event): Set the USER_ORG and MEETING flag properly.
+
 2005-08-24  Chenthill Palanisamy  <pchenthill novell com>
 
 	Fixes #313705


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]