File xfdesktop-backgrounds-path.patch of Package xfdesktop

Index: xfdesktop-4.10.1/backgrounds/Makefile.am
===================================================================
--- xfdesktop-4.10.1.orig/backgrounds/Makefile.am
+++ xfdesktop-4.10.1/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.1/settings/main.c
===================================================================
--- xfdesktop-4.10.1.orig/settings/main.c
+++ xfdesktop-4.10.1/settings/main.c
@@ -690,7 +690,7 @@ xfdesktop_settings_dialog_populate_image
 
         /* Add all backdrops in xfce4/backdrops/ for backwards compatibility with 4.8 */
         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