Author: mherger
Date: Wed Feb 10 21:35:14 2010
New Revision: 8480
URL: http://svn.slimdevices.com/jive?rev=8480&view=rev
Log:
Bug: n/a
Description: userpath is already defined as downloadPrefix
Modified:
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SetupWallpaper/SetupWallpaperApplet.lua
Modified:
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SetupWallpaper/SetupWallpaperApplet.lua
URL:
http://svn.slimdevices.com/jive/7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SetupWallpaper/SetupWallpaperApplet.lua?rev=8480&r1=8479&r2=8480&view=diff
==============================================================================
---
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SetupWallpaper/SetupWallpaperApplet.lua
(original)
+++
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SetupWallpaper/SetupWallpaperApplet.lua
Wed Feb 10 21:35:14 2010
@@ -123,9 +123,8 @@
end
-- read files in the userpath too
- local userdir = System.getUserDir() .. "/wallpapers/"
- for img in lfs.dir(userdir) do
- self:_readFile(userdir .. "/" .. img, screenWidth, screenHeight)
+ for img in lfs.dir(downloadPrefix) do
+ self:_readFile(downloadPrefix .. img, screenWidth, screenHeight)
end
for name, details in pairs(self.wallpapers) do
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins