From 5c0dca8bd51d32374d72ca870d0bfa11df8f1e78 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Mon, 7 Apr 2003 19:56:41 +0000 Subject: create button properly 2003-04-07 JP Rosevear * 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 --- calendar/pcs/cal-backend.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'calendar/pcs') 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); } } -- cgit