From d318e0405f4aa64cb722519e2625ad5ce91442bb Mon Sep 17 00:00:00 2001 From: Eric Koegel Date: Fri, 4 May 2012 08:40:16 +0300 Subject: [PATCH] Use backgrounds/xfce/ as the default location in single image mode for the settings app. (Bug #8799) --- settings/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/settings/main.c b/settings/main.c index 1ebad7c..c82f10d 100644 --- a/settings/main.c +++ b/settings/main.c @@ -688,14 +688,16 @@ xfdesktop_settings_dialog_populate_image_list(AppearancePanel *panel) xfconf_channel_set_string(panel->channel, prop_image, image_file); xfconf_channel_set_string(panel->channel, prop_last, image_file); + /* Add all backdrops in backgrounds/xfce/ */ backdrop_dirs = xfce_resource_lookup_all(XFCE_RESOURCE_DATA, - "xfce4/backdrops/"); + "backgrounds/xfce/"); for(i = 0; backdrop_dirs[i]; ++i) { tmp = xfdesktop_image_list_add_dir(ls, backdrop_dirs[i], image_file); if(tmp) image_file_iter = tmp; } + g_strfreev(backdrop_dirs); if(!image_file_iter) image_file_iter = xfdesktop_settings_image_treeview_add(GTK_TREE_MODEL(ls), image_file); -- 1.7.9.5