2011-05-08, 19:52
skullmonkey Wrote:First time writing here and want to say excellent skin. The skin is great but the modifications You can do to it... that's the priceless part for this skin.
I need only one thing.
How to edit the SHUTDOWN menu. The menu what You get by pressing the power button on my remote.
I need only this options:
SUSPEND
EXIT XBMC (RESTART XBMC)
SHUT DOWN
SETTINGS
Thanks in advanced,
S@
You can change the menu yourself by editing DialogButtonMenu.xml (%appdata%\XBMC\addons\skin.aeonmq.2\720p in Windows and /home/xbmc/.xbmc/addons/skin.aeonmq.2/720p in XBMCLive).
You may have to adjust the position of some of the images depending on how much you shrink it.
Here's the code for the shutdown menu with the four options you wanted. Just replace the code in DialogButtonMenu.xml with this and it should work. Remember to back up and hope it works for you.
Code:
<?xml version="1.0"?>
<window id="111" type="dialog">
<defaultcontrol>4112</defaultcontrol>
<coordinates>
<system>1</system>
<posx>0</posx>
<posy>0</posy>
</coordinates>
<animation type="WindowOpen" reversible="false">
<effect type="zoom" start="80" end="100" center="640,360" easing="out" tween="back" time="300" />
<effect type="fade" start="0" end="100" time="300" />
</animation>
<animation type="WindowClose" reversible="false">
<effect type="zoom" start="100" end="80" center="640,360" easing="in" tween="back" time="300" />
<effect type="fade" start="100" end="0" time="200" />
</animation>
<controls>
<control type="group">
<posx>486</posx>
<posy>265</posy>
<width>308</width>
<height>404</height>
<animation effect="slide" start="0,-19" end="0,-19" time="0" condition="![system.hasloginscreen | System.HasMediaDVD]">Conditional</animation>
<animation effect="slide" start="0,-38" end="0,-38" time="0" condition="system.hasloginscreen + System.HasMediaDVD">Conditional</animation>
<control type="image">
<description>background top image</description>
<posx>0</posx>
<posy>-26</posy>
<width>308</width>
<height>26</height>
<texture>dialogs/context_top.png</texture>
</control>
<control type="image">
<description>background image</description>
<posx>0</posx>
<posy>0</posy>
<width>308</width>
<height>155</height>
<include condition="![system.hasloginscreen | System.HasMediaDVD]">Objects_ButtonMenu10Group</include>
<include condition="[system.hasloginscreen + !System.HasMediaDVD] | [!system.hasloginscreen + System.HasMediaDVD]">Objects_ButtonMenu11Group</include>
<include condition="system.hasloginscreen + System.HasMediaDVD">Objects_ButtonMenu12Group</include>
<texture>dialogs/context_middle.png</texture>
</control>
<control type="image">
<description>background bottom image</description>
<posx>0</posx>
<posy>194</posy>
<width>308</width>
<height>27</height>
<animation effect="slide" start="0,-39" end="0,-39" time="0" condition="![system.hasloginscreen | System.HasMediaDVD]">Conditional</animation>
<animation effect="slide" start="0,39" end="0,39" time="0" condition="system.hasloginscreen + System.HasMediaDVD">Conditional</animation>
<texture>dialogs/context_bottom.png</texture>
</control>
<control type="grouplist" id="4112">
<posx>0</posx>
<posy>0</posy>
<width>308</width>
<include condition="![system.hasloginscreen | System.HasMediaDVD]">Objects_ButtonMenu10Group</include>
<include condition="[system.hasloginscreen + !System.HasMediaDVD] | [!system.hasloginscreen + System.HasMediaDVD]">Objects_ButtonMenu11Group</include>
<include condition="system.hasloginscreen + System.HasMediaDVD">Objects_ButtonMenu12Group</include>
<itemgap>0</itemgap>
<orientation>vertical</orientation>
<onup>4112</onup>
<ondown>4112</ondown>
<control type="button" id="801">
<description>Suspend</description>
<label>31212</label>
<include>Objects_ContextMenuButton</include>
<onclick>Suspend</onclick>
</control>
<control type="button" id="802">
<description>Exit</description>
<label>13012</label>
<include>Objects_ContextMenuButton</include>
<onclick>XBMC.Quit()</onclick>
</control>
<control type="button" id="803">
<description>Shutdown</description>
<label>31208</label>
<include>Objects_ContextMenuButton</include>
<onclick>Shutdown</onclick>
</control>
<control type="button" id="804">
<description>Settings</description>
<label>31200</label>
<include>Objects_ContextMenuButton</include>
<onclick>ActivateWindow(4)</onclick>
</control>
</control>
</control>
</controls>
</window>