[evolution-patches] fix for the bug #313538 [calendar]



Hi,
   Have attached the fix for the same. Do not remove the attendees from
the meeting store. Removed the obsolete code as scheduling and meeting
pages will be created only for meetings now.


thanks, Chenthill.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2836
diff -u -p -r1.2836 ChangeLog
--- ChangeLog	8 Nov 2005 09:17:49 -0000	1.2836
+++ ChangeLog	9 Nov 2005 06:28:46 -0000
@@ -1,3 +1,11 @@
+2005-11-09  Chenthill Palanisamy  <pchenthill novell com>
+
+	Fixes #313538
+	* gui/dialogs/event-editor.c: 
+	(event_editor_edit_comp): Do not remove the attendees. Removed
+	the obsolete code as scheduling and meeting pages will be created
+	only for meetings now.
+
 2005-11-08  P. S. Chakravarthi <pchakravarthi novell com>
 
 	Fixes #316710
Index: gui/dialogs/event-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/event-editor.c,v
retrieving revision 1.70
diff -u -p -r1.70 event-editor.c
--- gui/dialogs/event-editor.c	6 Oct 2005 18:21:52 -0000	1.70
+++ gui/dialogs/event-editor.c	9 Nov 2005 06:28:46 -0000
@@ -226,17 +226,8 @@ event_editor_edit_comp (CompEditor *edit
 	e_cal_component_get_organizer (comp, &organizer);
 	e_cal_component_get_attendee_list (comp, &attendees);
 
-	/* Clear things up */
-	e_meeting_store_remove_all_attendees (priv->model);
-
 	/* Set up the attendees */
-	if (attendees == NULL && !delegate) {
-		if (priv->meet_page)
-			comp_editor_remove_page (editor, COMP_EDITOR_PAGE (priv->meet_page));
-		if (priv->sched_page)
-			comp_editor_remove_page (editor, COMP_EDITOR_PAGE (priv->sched_page));
-		priv->meeting_shown = FALSE;
-	} else {
+	if (attendees != NULL) {
 		GSList *l;
 		int row;
 		char *user_email;


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