diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-08-30 07:55:28 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-08-30 07:55:28 +0800 |
commit | 49f07e62b53a29045f5b1195fb7cea28ad389d76 (patch) | |
tree | 242af4a2976934dbc725f045af5282f521164fb9 /calendar/ChangeLog | |
parent | 8d8d02da690396538a009e4caf67ea6e4cfa8a95 (diff) | |
download | gsoc2013-evolution-49f07e62b53a29045f5b1195fb7cea28ad389d76.tar gsoc2013-evolution-49f07e62b53a29045f5b1195fb7cea28ad389d76.tar.gz gsoc2013-evolution-49f07e62b53a29045f5b1195fb7cea28ad389d76.tar.bz2 gsoc2013-evolution-49f07e62b53a29045f5b1195fb7cea28ad389d76.tar.lz gsoc2013-evolution-49f07e62b53a29045f5b1195fb7cea28ad389d76.tar.xz gsoc2013-evolution-49f07e62b53a29045f5b1195fb7cea28ad389d76.tar.zst gsoc2013-evolution-49f07e62b53a29045f5b1195fb7cea28ad389d76.zip |
See if the set of categories changed by using the removed_categories hash
2001-08-29 Federico Mena Quintero <federico@ximian.com>
* 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
Diffstat (limited to 'calendar/ChangeLog')
-rw-r--r-- | calendar/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
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 <federico@ximian.com> + + * 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 <federico@ximian.com> Fixes bug #7879, a query may receive an update notification from |