[evolution-patches] fix for the bug 73320 [calendar]
- From: chenthill <pchenthill novell com>
- To: patches <evolution-patches lists ximian com>
- Subject: [evolution-patches] fix for the bug 73320 [calendar]
- Date: Mon, 21 Mar 2005 20:36:53 +0530
Hi,
Have attached the patch to fix the bug.
thanks, chenthill.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2696
diff -u -p -r1.2696 ChangeLog
--- ChangeLog 21 Mar 2005 14:34:02 -0000 1.2696
+++ ChangeLog 21 Mar 2005 15:04:03 -0000
@@ -1,3 +1,9 @@
+2005-03-21 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-21 JP Rosevear <jpr novell com>
* gui/gnome-cal.c (default_client_cal_opened_cb): if its busy, try
Index: gui/e-meeting-list-view.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/e-meeting-list-view.c,v
retrieving revision 1.16
diff -u -p -r1.16 e-meeting-list-view.c
--- gui/e-meeting-list-view.c 23 Feb 2005 01:28:20 -0000 1.16
+++ gui/e-meeting-list-view.c 21 Mar 2005 15:04:03 -0000
@@ -231,8 +231,9 @@ attendee_edited_cb (GtkCellRenderer *ren
} 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 {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]