Author: adrian
Date: Sat Jun  7 08:14:50 2008
New Revision: 2548

URL: http://svn.slimdevices.com?rev=2548&root=Jive&view=rev
Log:
Bug: 7801
Description: set radio button if correctly when custom wallpaper already 
selected

Modified:
    
7.1/trunk/squeezeplay/src/squeezeplay/share/applets/SetupWallpaper/SetupWallpaperApplet.lua

Modified: 
7.1/trunk/squeezeplay/src/squeezeplay/share/applets/SetupWallpaper/SetupWallpaperApplet.lua
URL: 
http://svn.slimdevices.com/7.1/trunk/squeezeplay/src/squeezeplay/share/applets/SetupWallpaper/SetupWallpaperApplet.lua?rev=2548&root=Jive&r1=2547&r2=2548&view=diff
==============================================================================
--- 
7.1/trunk/squeezeplay/src/squeezeplay/share/applets/SetupWallpaper/SetupWallpaperApplet.lua
 (original)
+++ 
7.1/trunk/squeezeplay/src/squeezeplay/share/applets/SetupWallpaper/SetupWallpaperApplet.lua
 Sat Jun  7 08:14:50 2008
@@ -230,6 +230,8 @@
 
        local ip, port = self.server:getIpPort()
 
+       local wallpaper = self:getSettings()[self.currentPlayerId]
+
        if data.item_loop then
                for _,entry in pairs(data.item_loop) do
                        log:info("server wallpaper: ", entry.name)
@@ -245,7 +247,8 @@
                                                                                
   if attr then
                                                                                
           self:setBackground(entry.file, self.currentPlayerId)
                                                                                
   end
-                                                                          end
+                                                                          end,
+                                                                          
wallpaper == entry.file
                                                                   ),
                                        focusGained = function()
                                                                          local 
path = Framework:findFile(PREFIX) .. entry.file

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins

Reply via email to