2012-11-01, 19:08
Hey thanks for the nice little program <3
So i figured out how to fix the shutdown and reboot on the Alaska Revisited skin
Here's what i did:
So i installed the custom shutdown option and looked at the file "DialogButtonMenu.xml" in my "skin.confluence" folder and found:
So by mixing the <onclick> parts with my alaska files i got it working
I found the following files in "C:\Users\MY USERNAME\AppData\Roaming\XBMC\addons\skin.alaska.revisited\720p"
First i changed the text in the xml file "DialogButtonMenu.xml"
From
To
Then the file "Includes_HomeDefault.xml"
From
To
Remember to change the "C:\Program Files (x86)\XBMC\" part if you got xbmc somewhere else
Hope this helps someone out
-Hapseleg
So i figured out how to fix the shutdown and reboot on the Alaska Revisited skin
Here's what i did:
So i installed the custom shutdown option and looked at the file "DialogButtonMenu.xml" in my "skin.confluence" folder and found:
Code:
<control type="button" id="2">
<description>Shutdown 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.RunScript(C:\Program Files (x86)\XBMC\ShutdownAction.py)</onclick>
<onclick>XBMC.Quit()</onclick>
<visible>System.CanPowerDown</visible>
<pulseonselect>no</pulseonselect>
<font>font13</font>
<label>Shutdown</label>
</control>
<control type="button" id="3">
<description>Reboot 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.Reset()</onclick>
<visible>System.CanReboot</visible>
<pulseonselect>no</pulseonselect>
<font>font13</font>
<label>13013</label>
</control>
<control type="button" id="4">
<description>Exit 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.RunScript(C:\Program Files (x86)\XBMC\CloseXBMC.py)</onclick>
<onclick>XBMC.Quit()</onclick>
<pulseonselect>no</pulseonselect>
<font>font13</font>
<label>13012</label>
<visible>System.ShowExitButton</visible>
</control>
So by mixing the <onclick> parts with my alaska files i got it working
I found the following files in "C:\Users\MY USERNAME\AppData\Roaming\XBMC\addons\skin.alaska.revisited\720p"
First i changed the text in the xml file "DialogButtonMenu.xml"
From
Code:
<control type="button" id="3114">
<include>SettingsLabel</include>
<label>$LOCALIZE[13005]</label>
<onclick>ShutDown()</onclick>
</control>
<control type="button" id="3121">
<include>SettingsLabel</include>
<label>$LOCALIZE[13013]</label>
<onclick>Reset()</onclick>
<visible>System.CanReboot</visible>
</control>
To
Code:
<control type="button" id="3114">
<include>SettingsLabel</include>
<label>$LOCALIZE[13005]</label>
<onclick>XBMC.RunScript(C:\Program Files (x86)\XBMC\ShutdownAction.py)</onclick>
<onclick>XBMC.Quit()</onclick>
</control>
<control type="button" id="3121">
<include>SettingsLabel</include>
<label>$LOCALIZE[13013]</label>
<onclick>XBMC.Reset()</onclick>
<visible>System.CanReboot</visible>
</control>
Then the file "Includes_HomeDefault.xml"
From
Code:
<item id="1">
<label>$LOCALIZE[13012]</label>
<onclick>Quit()</onclick>
<visible>!Skin.HasSetting(HideQuit)</visible>
</item>
<item id="2">
<label>$LOCALIZE[13005]</label>
<onclick>Shutdown()</onclick>
<visible>!Skin.HasSetting(HideShutdown)</visible>
</item>
<item id="3">
<label>$LOCALIZE[13013]</label>
<onclick>Reset()</onclick>
<visible>System.CanReboot</visible>
<visible>!Skin.HasSetting(HideReboot)</visible>
</item>
To
Code:
<item id="1">
<label>$LOCALIZE[13012]</label>
<onclick>XBMC.RunScript(C:\Program Files (x86)\XBMC\CloseXBMC.py)</onclick>
<onclick>XBMC.Quit()</onclick>
<visible>!Skin.HasSetting(HideQuit)</visible>
</item>
<item id="2">
<label>$LOCALIZE[13005]</label>
<onclick>XBMC.RunScript(C:\Program Files (x86)\XBMC\ShutdownAction.py)</onclick>
<onclick>XBMC.Quit()</onclick>
<visible>!Skin.HasSetting(HideShutdown)</visible>
</item>
<item id="3">
<label>$LOCALIZE[13013]</label>
<onclick>XBMC.Reset()</onclick>
<visible>System.CanReboot</visible>
<visible>!Skin.HasSetting(HideReboot)</visible>
</item>
Remember to change the "C:\Program Files (x86)\XBMC\" part if you got xbmc somewhere else
Hope this helps someone out
-Hapseleg