From 5ebf5d6a662f8f55cbab2197596ef9122ae2f814 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Thu, 24 Jul 2003 09:45:32 +0000 Subject: just preload one level of GConf keys, since preloading all makes the 2003-07-24 Rodrigo Moya * e-config-listener.c (add_key): just preload one level of GConf keys, since preloading all makes the calendar startup slow. svn path=/trunk/; revision=21940 --- e-util/e-config-listener.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'e-util/e-config-listener.c') diff --git a/e-util/e-config-listener.c b/e-util/e-config-listener.c index dc90e3bedd..ecc1b45fce 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_RECURSIVE, NULL); + gconf_client_add_dir (cl->priv->db, key, GCONF_CLIENT_PRELOAD_ONELEVEL, NULL); kd->lid = gconf_client_notify_add (cl->priv->db, key, (GConfClientNotifyFunc) property_change_cb, kd, NULL, NULL); -- cgit v1.2.3