From 4c1bd422e22f9cac6e2e3ed52d1c40c0705fbf4d Mon Sep 17 00:00:00 2001 From: Bradford Hovinen Date: Tue, 24 Jul 2001 22:52:59 +0000 Subject: [PATCH] Reenable disabled code (quit_cb): Put the db an id objects in a pair 2001-07-24 Bradford Hovinen * capplet-util.c (real_quit_cb): Reenable disabled code (quit_cb): Put the db an id objects in a pair structure and pass that to the callback (real_quit_cb): Extract the db and id objects from the pair (create_control_cb): Set up listener for sync event rather than change event --- capplets/common/ChangeLog | 2 ++ capplets/common/capplet-util.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/capplets/common/ChangeLog b/capplets/common/ChangeLog index 7e98cba5b..34a96bc7c 100644 --- a/capplets/common/ChangeLog +++ b/capplets/common/ChangeLog @@ -4,6 +4,8 @@ (quit_cb): Put the db an id objects in a pair structure and pass that to the callback (real_quit_cb): Extract the db and id objects from the pair + (create_control_cb): Set up listener for sync event rather than + change event 2001-07-23 Bradford Hovinen diff --git a/capplets/common/capplet-util.c b/capplets/common/capplet-util.c index 3bc6c93f9..af7273e44 100644 --- a/capplets/common/capplet-util.c +++ b/capplets/common/capplet-util.c @@ -265,7 +265,7 @@ create_control_cb (BonoboGenericFactory *factory, Bonobo_ConfigDatabase db) id = bonobo_event_source_client_add_listener (db, (BonoboListenerCallbackFn) changed_cb, - "Bonobo/ConfigDatabase:change", &ev, db); + "Bonobo/ConfigDatabase:sync", &ev, db); gtk_object_set_data (GTK_OBJECT (property_control), "listener-id", (gpointer) id); gtk_signal_connect (GTK_OBJECT (property_control), "destroy",