Fixes the bug #330448 [calendar]

pchenthill <[email protected]>
Newsgroups gmane.comp.gnome.evolution.patches
Message-ID <[email protected]>
Hi,
  Have attached the fix for the bug. Remove the attendee from the name
selector dialog while removing it from the 
meeting list view.

thanks, Chenthill.

_______________________________________________
Evolution-patches mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-patches
330448.diff (text/x-patch, 1.9 KB)
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.3003
diff -u -p -r1.3003 ChangeLog
--- ChangeLog	3 Mar 2006 13:24:38 -0000	1.3003
+++ ChangeLog	3 Mar 2006 14:50:31 -0000
@@ -1,3 +1,10 @@
+2006-03-03  Chenthill Palanisamy  <[email protected]>
+
+	Fixes #330448
+	* gui/e-meeting-list-view.c: (attendee_edited_cb): Remove
+	attendees from the e-name-selector when its removed from
+	meeting list view.	
+
 2006-03-03  Sam Yang  <[email protected]>
 
 	Fixes #324560
Index: gui/e-meeting-list-view.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/e-meeting-list-view.c,v
retrieving revision 1.27
diff -u -p -r1.27 e-meeting-list-view.c
--- gui/e-meeting-list-view.c	8 Feb 2006 13:06:02 -0000	1.27
+++ gui/e-meeting-list-view.c	3 Mar 2006 14:50:32 -0000
@@ -349,6 +349,8 @@ attendee_edited_cb (GtkCellRenderer *ren
 
 		if (existing_attendee) {
 			removed = TRUE;
+			e_meeting_list_view_remove_attendee_from_name_selector (E_MEETING_LIST_VIEW (view),
+						existing_attendee);
 			e_meeting_store_remove_attendee (model, existing_attendee);
 		}
 		
@@ -359,6 +361,8 @@ attendee_edited_cb (GtkCellRenderer *ren
 		if (!((name && *name) || (email && *email)) || ((e_meeting_store_find_attendee (model, email, &existing_row) != NULL) && existing_row != row)){
 			if (existing_attendee) {
 				removed = TRUE;
+				e_meeting_list_view_remove_attendee_from_name_selector (E_MEETING_LIST_VIEW (view),
+						existing_attendee);
 				e_meeting_store_remove_attendee (model, existing_attendee);
 			}
 		} else {
@@ -385,6 +389,8 @@ attendee_edited_cb (GtkCellRenderer *ren
 				return;
 
 			 removed = TRUE;
+			e_meeting_list_view_remove_attendee_from_name_selector (E_MEETING_LIST_VIEW (view),
+						existing_attendee);
 			e_meeting_store_remove_attendee (model, existing_attendee);
 		}
 	}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.