From 49f07e62b53a29045f5b1195fb7cea28ad389d76 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 29 Aug 2001 23:55:28 +0000 Subject: See if the set of categories changed by using the removed_categories hash 2001-08-29 Federico Mena Quintero * pcs/cal-backend-file.c (cal_backend_file_remove_object): See if the set of categories changed by using the removed_categories hash table. (cal_backend_file_init): Create a table of removed categories. This allows us to notify if and only if the set of category changes when an object is updated/removed, instead of unconditionally notifying if an object is updated. (cal_backend_file_update_objects): Only notify if the set of categories really changed. (update_categories_from_comp): Shuffle the categories between the priv->categories and priv->removed_categories lists. svn path=/trunk/; revision=12522 --- calendar/ChangeLog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'calendar/ChangeLog') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 8887a33474..a3d1372fb0 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,17 @@ +2001-08-29 Federico Mena Quintero + + * pcs/cal-backend-file.c (cal_backend_file_remove_object): See if + the set of categories changed by using the removed_categories hash + table. + (cal_backend_file_init): Create a table of removed categories. + This allows us to notify if and only if the set of category + changes when an object is updated/removed, instead of + unconditionally notifying if an object is updated. + (cal_backend_file_update_objects): Only notify if the set of + categories really changed. + (update_categories_from_comp): Shuffle the categories between the + priv->categories and priv->removed_categories lists. + 2001-08-28 Federico Mena Quintero Fixes bug #7879, a query may receive an update notification from -- cgit v1.2.3