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 /addressbook | |
parent | 8d8d02da690396538a009e4caf67ea6e4cfa8a95 (diff) | |
download | gsoc2013-evolution-49f07e62b53a29045f5b1195fb7cea28ad389d76.tar.gz 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 'addressbook')
0 files changed, 0 insertions, 0 deletions