Author: bklaas
Date: Mon Dec 15 14:58:34 2008
New Revision: 3538

URL: http://svn.slimdevices.com?rev=3538&root=Jive&view=rev
Log:
Bug: 8067
Description: never display a "press brightness" window for SBR and a few others

Modified:
    
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua

Modified: 
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
URL: 
http://svn.slimdevices.com/7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua?rev=3538&root=Jive&r1=3537&r2=3538&view=diff
==============================================================================
--- 
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
 (original)
+++ 
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
 Mon Dec 15 14:58:34 2008
@@ -583,6 +583,19 @@
 
        if _userUpdatePopup then
                return
+       end
+
+
+       -- only show this window if the player has a brightness button available
+       local playerModel = _player:getModel()
+       if playerModel == 'receiver' 
+               or playerModel == 'softsqueeze'
+               or playerModel == 'softsqueeze3'
+               or playerModel == 'controller'
+               or playerModel == 'squeezeplay'
+               or playerModel == 'squeezeslave'
+               then
+                       return
        end
 
        local window = Window("window", 
self:string('SLIMBROWSER_PLAYER_UPDATE_REQUIRED'))

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

Reply via email to