Author: bklaas
Date: Wed Feb  3 11:02:36 2010
New Revision: 8448

URL: http://svn.slimdevices.com/jive?rev=8448&view=rev
Log:
Fixed Bug: 15579
Description: allow player power menu item on home menu when controlling a 
non-local player

Modified:
    
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SlimMenus/SlimMenusApplet.lua

Modified: 
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SlimMenus/SlimMenusApplet.lua
URL: 
http://svn.slimdevices.com/jive/7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SlimMenus/SlimMenusApplet.lua?rev=8448&r1=8447&r2=8448&view=diff
==============================================================================
--- 
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SlimMenus/SlimMenusApplet.lua
 (original)
+++ 
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SlimMenus/SlimMenusApplet.lua
 Wed Feb  3 11:02:36 2010
@@ -508,8 +508,8 @@
 
                        if not item.id then
                                log:info("no id for menu item: ", item.text)
-                       elseif item.id == "playerpower" and 
System:hasSoftPower() and System:getMachine() ~= 'squeezeplay' then
-                               --ignore, playerpower no longer shown to users 
since we use power button, unless this is a device without a power button
+                       elseif item.id == "playerpower" and 
System:hasSoftPower() and System:getMachine() ~= 'squeezeplay' and 
_player:isLocal() then
+                               --ignore for local player, playerpower no 
longer shown to users since we use power button, unless this is a device 
without a power button or is controlling another
                        elseif item.id == "settingsPIN" then
                                --ignore, pin no longer shown to users since we 
use user/pass now
                        elseif item.id == "settingsPlayerNameChange" and not 
isCurrentServer then

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

Reply via email to