diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2003-07-24 17:45:32 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2003-07-24 17:45:32 +0800 |
commit | 5ebf5d6a662f8f55cbab2197596ef9122ae2f814 (patch) | |
tree | c4bee5d52a88278a97b6f4fcd2664c5ec9824ac9 /e-util | |
parent | 6fb2775ecb407ddfcdb42584004c7ea6e7130298 (diff) | |
download | gsoc2013-evolution-5ebf5d6a662f8f55cbab2197596ef9122ae2f814.tar.gz gsoc2013-evolution-5ebf5d6a662f8f55cbab2197596ef9122ae2f814.tar.zst gsoc2013-evolution-5ebf5d6a662f8f55cbab2197596ef9122ae2f814.zip |
just preload one level of GConf keys, since preloading all makes the
2003-07-24 Rodrigo Moya <rodrigo@ximian.com>
* 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
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/ChangeLog | 5 | ||||
-rw-r--r-- | e-util/Makefile.am | 2 | ||||
-rw-r--r-- | e-util/e-config-listener.c | 2 |
3 files changed, 8 insertions, 1 deletions
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 <rodrigo@ximian.com> + + * 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 <danw@ximian.com> * 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); |