From b27b907b321b6226edbc93b64aec10304c61afcc Mon Sep 17 00:00:00 2001 From: Rodney Dawes Date: Sun, 9 Jan 2005 04:15:56 +0000 Subject: [PATCH] Preload the directory rather than nothing when adding directories for 2005-01-08 Rodney Dawes * gnome-wp-capplet.c (wallpaper_properties_init): Preload the directory rather than nothing when adding directories for gconf notification --- capplets/background/ChangeLog | 5 +++++ 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,3 +1,8 @@ +2005-01-08 Rodney Dawes + + * gnome-wp-capplet.c (wallpaper_properties_init): Preload the directory + rather than nothing when adding directories for gconf notification + 2005-01-08 Rodney Dawes * background.desktop.in.in: Add %F to Exec command line 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,