Fix for the bug #334000 [calendar]
pchenthill <[email protected]>
| Newsgroups | gmane.comp.gnome.evolution.patches |
|---|---|
| Message-ID | <[email protected]> |
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. _______________________________________________ Evolution-patches mailing list [email protected] http://mail.gnome.org/mailman/listinfo/evolution-patches
patch.diff
(text/x-patch, 1.3 KB)
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 <[email protected]> + + Fixes #334000 + * libedata-cal/e-cal-backend.c: + (e_cal_backend_notify_object_removed): Check if + the query matches. + 2006-03-04 Chenthill Palanisamy <[email protected]> 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);