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/ChangeLog | 5 +++++ e-util/Makefile.am | 2 ++ e-util/e-config-listener.c | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) (limited to 'e-util') diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 3c042689d3..e0c1bec6b4 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,8 @@ +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. + 2003-07-23 Dan Winship * Makefile.am: Use EVO_MARSHAL_RULE diff --git a/e-util/Makefile.am b/e-util/Makefile.am index 37da4375f1..1d09e140bb 100644 --- a/e-util/Makefile.am +++ b/e-util/Makefile.am @@ -84,6 +84,8 @@ libeutil_la_SOURCES = \ e-url.c \ e-util-marshal.c \ e-xml-hash-utils.c \ + eggtrayicon.c \ + eggtrayicon.h \ md5-utils.c MARSHAL_GENERATED = e-util-marshal.c e-util-marshal.h 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