aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
Diffstat (limited to 'e-util')
-rw-r--r--e-util/ChangeLog5
-rw-r--r--e-util/e-config-listener.c2
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);