diff options
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/e-meeting-list-view.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index f06766e40c..021000e746 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,11 @@ 2005-03-24 Chenthill Palanisamy <pchenthill@novell.com> + Fixes #73320 + * gui/e-meeting-list-view.c: (attendee_edited_cb): Check if + we are editing the same row and if so do not remove the attendee. + +2005-03-24 Chenthill Palanisamy <pchenthill@novell.com> + Fixes #73508 * gui/dialogs/meeting-page.c: (meeting_page_fill_widgets): Set the organizers status as NEEDS ACTION, checking for the static capability. diff --git a/calendar/gui/e-meeting-list-view.c b/calendar/gui/e-meeting-list-view.c index f411b1be2d..088301fc92 100644 --- a/calendar/gui/e-meeting-list-view.c +++ b/calendar/gui/e-meeting-list-view.c @@ -231,8 +231,9 @@ attendee_edited_cb (GtkCellRenderer *renderer, const gchar *path, GList *address } else if (g_list_length (addresses) == 1) { char *name = names->data, *email = addresses->data; + int existing_row; - if (!((name && *name) || (email && *email)) || e_meeting_store_find_attendee (model, email, NULL) != NULL) { + if (!((name && *name) || (email && *email)) || ((e_meeting_store_find_attendee (model, email, &existing_row) != NULL) && existing_row != row)){ if (existing_attendee) e_meeting_store_remove_attendee (model, existing_attendee); } else { |