File xfdesktop-backgrounds-path.patch of Package xfdesktop

Index: xfdesktop-4.10.0/backgrounds/Makefile.am
===================================================================
--- xfdesktop-4.10.0.orig/backgrounds/Makefile.am
+++ xfdesktop-4.10.0/backgrounds/Makefile.am
@@ -1,7 +1,7 @@
 # backdrops/Makefile.am
 #
 
-backgroundsdir = $(datadir)/backgrounds/xfce
+backgroundsdir = $(datadir)/wallpapers/xfce
 
 backgrounds_DATA = xfce-blue.jpg
 
Index: xfdesktop-4.10.0/settings/main.c
===================================================================
--- xfdesktop-4.10.0.orig/settings/main.c
+++ xfdesktop-4.10.0/settings/main.c
@@ -689,7 +689,7 @@ xfdesktop_settings_dialog_populate_image
         xfconf_channel_set_string(panel->channel, prop_last, image_file);
 
         backdrop_dirs = xfce_resource_lookup_all(XFCE_RESOURCE_DATA,
-                                                 "xfce4/backdrops/");
+                                                 "wallpapers/xfce/");
         for(i = 0; backdrop_dirs[i]; ++i) {
             tmp = xfdesktop_image_list_add_dir(ls, backdrop_dirs[i],
                                                image_file);
openSUSE Build Service is sponsored by