diff options
author | JP Rosevear <jpr@ximian.com> | 2003-04-08 03:56:41 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2003-04-08 03:56:41 +0800 |
commit | 5c0dca8bd51d32374d72ca870d0bfa11df8f1e78 (patch) | |
tree | 5919dbd92aaa573f43648468f5e0f6665cd8abaf /calendar/pcs/cal-backend.c | |
parent | 3b5fc9292b9edd41c51d8b40d213c5ddbcd9327e (diff) | |
download | gsoc2013-evolution-5c0dca8bd51d32374d72ca870d0bfa11df8f1e78.tar.gz gsoc2013-evolution-5c0dca8bd51d32374d72ca870d0bfa11df8f1e78.tar.zst gsoc2013-evolution-5c0dca8bd51d32374d72ca870d0bfa11df8f1e78.zip |
create button properly
2003-04-07 JP Rosevear <jpr@ximian.com>
* gui/dialogs/event-page.glade: create button properly
* gui/itip-utils.c (comp_server_send): for errors other than busy,
we want to email the results
* pcs/cal-backend.c (cal_backend_ref_categories): insert the new
category in the category list as well
(idle_notify_categories_changed): reset idle id
svn path=/trunk/; revision=20726
Diffstat (limited to 'calendar/pcs/cal-backend.c')
-rw-r--r-- | calendar/pcs/cal-backend.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/pcs/cal-backend.c b/calendar/pcs/cal-backend.c index 765d873f79..261466ebaa 100644 --- a/calendar/pcs/cal-backend.c +++ b/calendar/pcs/cal-backend.c @@ -1149,6 +1149,9 @@ idle_notify_categories_changed (gpointer data) notify_categories_changed (backend); g_hash_table_foreach_remove (priv->changed_categories, prune_changed_categories, NULL); } + + priv->category_idle_id = 0; + return FALSE; } @@ -1191,6 +1194,7 @@ cal_backend_ref_categories (CalBackend *backend, GSList *categories) c = g_new (CalBackendCategory, 1); c->name = g_strdup (name); c->refcount = 1; + g_hash_table_insert (priv->categories, c->name, c); g_hash_table_insert (priv->changed_categories, c->name, c); } } |