diff options
author | Rodney Dawes <dobey@novell.com> | 2005-01-09 04:15:56 +0000 |
---|---|---|
committer | Rodney Dawes <dobey@src.gnome.org> | 2005-01-09 04:15:56 +0000 |
commit | b27b907b321b6226edbc93b64aec10304c61afcc (patch) | |
tree | 6cf83dcafa8be433b6cb220fd913e61519489234 | |
parent | bdd4d0142e4d8c5b252877bd22c738c5e2e88877 (diff) | |
download | gnome-control-center-b27b907b321b6226edbc93b64aec10304c61afcc.tar.gz |
Preload the directory rather than nothing when adding directories for
2005-01-08 Rodney Dawes <dobey@novell.com>
* gnome-wp-capplet.c (wallpaper_properties_init): Preload the directory
rather than nothing when adding directories for gconf notification
-rw-r--r-- | capplets/background/ChangeLog | 5 | ||||
-rw-r--r-- | capplets/background/gnome-wp-capplet.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/capplets/background/ChangeLog b/capplets/background/ChangeLog index 1453ba0ec..980a17915 100644 --- a/capplets/background/ChangeLog +++ b/capplets/background/ChangeLog @@ -1,5 +1,10 @@ 2005-01-08 Rodney Dawes <dobey@novell.com> + * gnome-wp-capplet.c (wallpaper_properties_init): Preload the directory + rather than nothing when adding directories for gconf notification + +2005-01-08 Rodney Dawes <dobey@novell.com> + * background.desktop.in.in: Add %F to Exec command line * gnome-wp-capplet.[ch] (gnome_wp_remove_wp): Check that the tree path diff --git a/capplets/background/gnome-wp-capplet.c b/capplets/background/gnome-wp-capplet.c index 73ac09f30..db0714731 100644 --- a/capplets/background/gnome-wp-capplet.c +++ b/capplets/background/gnome-wp-capplet.c @@ -931,9 +931,9 @@ static void wallpaper_properties_init (poptContext ctx) { WP_DELAY_KEY, NULL); gconf_client_add_dir (capplet->client, WP_KEYBOARD_PATH, - GCONF_CLIENT_PRELOAD_NONE, NULL); + GCONF_CLIENT_PRELOAD_ONELEVEL, NULL); gconf_client_add_dir (capplet->client, WP_PATH_KEY, - GCONF_CLIENT_PRELOAD_NONE, NULL); + GCONF_CLIENT_PRELOAD_ONELEVEL, NULL); gconf_client_notify_add (capplet->client, WP_DELAY_KEY, |