Permalink
Browse files

Added the visible conditions needed in the shutdown menu for embedded…

… systems
  • Loading branch information...
JezzX committed Mar 5, 2012
1 parent ec3c60e commit 630b67335d2e494415235ca2829bc80b05f78f34
Showing with 4 additions and 0 deletions.
  1. +4 −0 720p/DialogButtonMenu.xml
@@ -116,19 +116,23 @@
<item>
<label>31306</label>
<onclick>XBMC.Powerdown()</onclick>
+ <visible>System.CanPowerDown</visible>
</item>
<item>
<label>31307</label>
<onclick>XBMC.Quit()</onclick>
<visible>System.LoggedOn</visible>
+ <visible>System.ShowExitButton</visible>
</item>
<item>
<label>13011</label>
<onclick>XBMC.Suspend()</onclick>
+ <visible>System.CanSuspend</visible>
</item>
<item>
<label>13013</label>
<onclick>XBMC.Reboot()</onclick>
+ <visible>System.CanReboot</visible>
</item>
<item>
<label>20126</label>

0 comments on commit 630b673

Please sign in to comment.