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
This commit is contained in:

committed by
Rodrigo Moya

parent
6fb2775ecb
commit
5ebf5d6a66
@ -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
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user