diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2003-06-13 23:22:18 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2003-06-13 23:22:18 +0800 |
commit | 0769fbfea637d4441c991db66b2d91b4e9d81d88 (patch) | |
tree | 5ad07f906bcfab3a9b342b1491dac0ec435ba514 /e-util | |
parent | 1377ba2908a068192420ce77ea2067d08ddcefe9 (diff) | |
download | gsoc2013-evolution-0769fbfea637d4441c991db66b2d91b4e9d81d88.tar gsoc2013-evolution-0769fbfea637d4441c991db66b2d91b4e9d81d88.tar.gz gsoc2013-evolution-0769fbfea637d4441c991db66b2d91b4e9d81d88.tar.bz2 gsoc2013-evolution-0769fbfea637d4441c991db66b2d91b4e9d81d88.tar.lz gsoc2013-evolution-0769fbfea637d4441c991db66b2d91b4e9d81d88.tar.xz gsoc2013-evolution-0769fbfea637d4441c991db66b2d91b4e9d81d88.tar.zst gsoc2013-evolution-0769fbfea637d4441c991db66b2d91b4e9d81d88.zip |
use GCONF_CLIENT_PRELOAD_RECURSIVE when adding watched directories to
2003-06-12 Rodrigo Moya <rodrigo@ximian.com>
* e-config-listener.c (add_key): use GCONF_CLIENT_PRELOAD_RECURSIVE
when adding watched directories to avoid GConfd round-trips.
svn path=/trunk/; revision=21431
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/ChangeLog | 5 | ||||
-rw-r--r-- | e-util/e-config-listener.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index f3413d10de..e95f4df92a 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,8 @@ +2003-06-12 Rodrigo Moya <rodrigo@ximian.com> + + * e-config-listener.c (add_key): use GCONF_CLIENT_PRELOAD_RECURSIVE + when adding watched directories to avoid GConfd round-trips. + 2003-06-12 Jeffrey Stedfast <fejj@ximian.com> * e-trie.c (e_trie_free): Free the fail_states array. diff --git a/e-util/e-config-listener.c b/e-util/e-config-listener.c index 19c40b1dba..dc90e3bedd 100644 --- a/e-util/e-config-listener.c +++ b/e-util/e-config-listener.c @@ -231,7 +231,7 @@ add_key (EConfigListener *cl, const char *key, GConfValueType type, kd->used_default = used_default; /* add the listener for changes */ - gconf_client_add_dir (cl->priv->db, key, GCONF_CLIENT_PRELOAD_NONE, NULL); + gconf_client_add_dir (cl->priv->db, key, GCONF_CLIENT_PRELOAD_RECURSIVE, NULL); kd->lid = gconf_client_notify_add (cl->priv->db, key, (GConfClientNotifyFunc) property_change_cb, kd, NULL, NULL); |