aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2005-03-24 16:47:44 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-03-24 16:47:44 +0800
commit41930cb707fb94e9ea90a4b431cb83a6cee05f75 (patch)
tree348ebebc0b4f007e1580f36a7641e53f2ec7879f /calendar
parent50a23d204c293f805659bf60671faf435dc07df5 (diff)
downloadgsoc2013-evolution-41930cb707fb94e9ea90a4b431cb83a6cee05f75.tar.gz
gsoc2013-evolution-41930cb707fb94e9ea90a4b431cb83a6cee05f75.tar.zst
gsoc2013-evolution-41930cb707fb94e9ea90a4b431cb83a6cee05f75.zip
Fixes #73320 Check if we are editing the same row and if so do not remove
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. svn path=/trunk/; revision=29098
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/e-meeting-list-view.c3
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 {