Skip to content

Commit

Permalink
Fix querying from the incorrect directory for wallpapers.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoiSek committed Sep 22, 2016
1 parent 2109aa2 commit 34c0edc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/es6/Components/WallpaperSwitcher.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function getWallpapers() {
// Do NOT allow the default wallpaper directory to set, as this will prevent the default provided backgrounds from
// being used 100% of the time in a stock install.
if (wallpapersDirectory == "/usr/share/backgrounds" || wallpapersDirectory == "/usr/share/backgrounds/") {
wallpapersDirectory = "/usr/share/lightdm-webkit/themes/lightdm-webkit-theme-aether/src/img/backgrounds/";
wallpapersDirectory = "/usr/share/lightdm-webkit/themes/lightdm-webkit-theme-aether/src/img/wallpapers/";
}

_wallpapers = window.greeterutil.dirlist(wallpapersDirectory);
Expand Down Expand Up @@ -201,4 +201,4 @@ export default class WallpaperSwitcher extends Component {
</div>
);
}
}
}
Loading

0 comments on commit 34c0edc

Please sign in to comment.