diff options
author | vdrfan <vdrfan-nospam-@xbmc.org> | 2012-01-09 10:50:29 +0100 |
---|---|---|
committer | vdrfan <vdrfan-nospam-@xbmc.org> | 2012-01-09 10:52:50 +0100 |
commit | 2b244631773c1503783fc187115c70023d7d0e7a (patch) | |
tree | 71cdff54b683647cef42ac952cdc072ce2850e6f /addons/skin.confluence/720p | |
parent | 9dfde6533fd996aff938efa5f6d78225b943158f (diff) |
confluence: only show supported exit methods in shutdown menu + added missing hibernate menu entry (closes #12434)
Diffstat (limited to 'addons/skin.confluence/720p')
-rw-r--r-- | addons/skin.confluence/720p/DialogButtonMenu.xml | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/addons/skin.confluence/720p/DialogButtonMenu.xml b/addons/skin.confluence/720p/DialogButtonMenu.xml index 06b33e6282..49fe371e4d 100644 --- a/addons/skin.confluence/720p/DialogButtonMenu.xml +++ b/addons/skin.confluence/720p/DialogButtonMenu.xml @@ -97,6 +97,7 @@ <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus> <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus> <onclick>XBMC.Powerdown()</onclick> + <visible>System.CanPowerDown</visible> <pulseonselect>no</pulseonselect> <font>font13</font> <label>13016</label> @@ -116,6 +117,7 @@ <font>font13</font> <label>20150</label> <visible>!System.HasAlarm(shutdowntimer)</visible> + <visible>System.CanPowerDown</visible> </control> <control type="button" id="5"> <description>Cancel Shutdown Timer</description> @@ -144,11 +146,28 @@ <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus> <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus> <onclick>XBMC.Suspend()</onclick> + <visible>System.CanSuspend</visible> <pulseonselect>no</pulseonselect> <font>font13</font> <label>13011</label> </control> <control type="button" id="7"> + <description>Hibernate button</description> + <width>340</width> + <height>40</height> + <textcolor>grey2</textcolor> + <focusedcolor>white</focusedcolor> + <align>center</align> + <textwidth>290</textwidth> + <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus> + <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus> + <onclick>XBMC.Hibernate()</onclick> + <visible>System.CanHibernate</visible> + <pulseonselect>no</pulseonselect> + <font>font13</font> + <label>13010</label> + </control> + <control type="button" id="8"> <description>Reboot button</description> <width>340</width> <height>40</height> @@ -159,11 +178,12 @@ <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus> <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus> <onclick>XBMC.Reset()</onclick> + <visible>System.CanReboot</visible> <pulseonselect>no</pulseonselect> <font>font13</font> <label>13013</label> </control> - <control type="button" id="8"> + <control type="button" id="9"> <description>Logoff button</description> <width>340</width> <height>40</height> @@ -181,7 +201,7 @@ <visible>System.HasLoginScreen | IntegerGreaterThan(System.ProfileCount,1)</visible> <visible>System.Loggedon</visible> </control> - <control type="togglebutton" id="9"> + <control type="togglebutton" id="10"> <description>Master mode button</description> <width>340</width> <height>40</height> |