[Confluence] Use 'shutdown function' setting in 'custom shutdown timer'. fixes #12848
authorronie <ronie@poedel.net>
Wed, 2 Jan 2013 23:48:16 +0000 (00:48 +0100)
committerronie <ronie@poedel.net>
Wed, 2 Jan 2013 23:48:16 +0000 (00:48 +0100)
addons/skin.confluence/720p/DialogButtonMenu.xml

index 2b08f69..ac30c2a 100644 (file)
                                <textwidth>290</textwidth>
                                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
-                               <onclick>XBMC.AlarmClock(shutdowntimer,XBMC.Powerdown())</onclick>
+                               <onclick>XBMC.AlarmClock(shutdowntimer,XBMC.Shutdown())</onclick>
                                <pulseonselect>no</pulseonselect>
                                <font>font13</font>
                                <label>20150</label>
                                <visible>!System.HasAlarm(shutdowntimer)</visible>
-                               <visible>System.CanPowerDown</visible>
+                               <visible>System.CanPowerDown | System.CanSuspend | System.CanHibernate</visible>
                        </control>
                        <control type="button" id="5">
                                <description>Cancel Shutdown Timer</description>