[evolution-patches] Fix for the bug #334000 [calendar]
- From: pchenthill <pchenthill novell com>
- To: patches <evolution-patches gnome org>
- Subject: [evolution-patches] Fix for the bug #334000 [calendar]
- Date: Thu, 16 Mar 2006 11:17:16 +0530
Hi,
Have attached the fix for the bug. Have added the check for matching the query while notifying removal of appointments from the backend.
thanks, Chenthill.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/ChangeLog,v
retrieving revision 1.568
diff -u -p -r1.568 ChangeLog
--- ChangeLog 4 Mar 2006 10:29:06 -0000 1.568
+++ ChangeLog 16 Mar 2006 05:30:26 -0000
@@ -1,3 +1,10 @@
+2006-03-16 Chenthill Palanisamy <pchenthill novell com>
+
+ Fixes #334000
+ * libedata-cal/e-cal-backend.c:
+ (e_cal_backend_notify_object_removed): Check if
+ the query matches.
+
2006-03-04 Chenthill Palanisamy <pchenthill novell com>
Fixes #330974
Index: libedata-cal/e-cal-backend.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/libedata-cal/e-cal-backend.c,v
retrieving revision 1.24
diff -u -p -r1.24 e-cal-backend.c
--- libedata-cal/e-cal-backend.c 4 Mar 2006 09:57:00 -0000 1.24
+++ libedata-cal/e-cal-backend.c 16 Mar 2006 05:30:27 -0000
@@ -1319,7 +1319,8 @@ e_cal_backend_notify_object_removed (ECa
if (object == NULL) {
/* if object == NULL, it means the object has been completely
removed from the backend */
- e_data_cal_view_notify_objects_removed_1 (query, id);
+ if (e_data_cal_view_object_matches (query, old_object))
+ e_data_cal_view_notify_objects_removed_1 (query, id);
} else
match_query_and_notify (query, old_object, object);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]