I had a few minutes and was curious about this too. Anyway, I figured it out. Below are two options you can do to make XBMC shut down the way you want:
Option 1 - This will show only one option under the Shutdown Menu, 'Exit'.: All I did was remove the other options from the file below (Note: this is what it looks like on my skin, confluence.custom.mod. It may differ a bit if you are using a different skin, but shouldn't be too different. Just remove all but the 'Exit' choice you want):
Find this one file in the .../addons/confluence.custom.mod/720p/ folder and change the following:
DialogButtonMenu.xml:
change:
Code:
<control type="button" id="2">
<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.Quit()</onclick>
<pulseonselect>no</pulseonselect>
<font>font13</font>
<label>13012</label>
<visible>System.ShowExitButton</visible>
</control>
<control type="button" id="3">
<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.Powerdown()</onclick>
<visible>System.CanPowerDown</visible>
<pulseonselect>no</pulseonselect>
<font>font13</font>
<label>13016</label>
</control>
<control type="button" id="4">
<description>Custom Shutdown Timer</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.AlarmClock(shutdowntimer,XBMC.Shutdown())</onclick>
<pulseonselect>no</pulseonselect>
<font>font13</font>
<label>20150</label>
<visible>!System.HasAlarm(shutdowntimer)</visible>
<visible>System.CanPowerDown | System.CanSuspend | System.CanHibernate</visible>
</control>
<control type="button" id="5">
<description>Cancel Shutdown Timer</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.CancelAlarm(shutdowntimer)</onclick>
<pulseonselect>no</pulseonselect>
<font>font13</font>
<label>20151</label>
<visible>System.HasAlarm(shutdowntimer)</visible>
</control>
<control type="button" id="6">
<description>Suspend 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.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>
<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="9">
<description>Logoff 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>dialog.close(all,true)</onclick>
<onclick>System.LogOff</onclick>
<pulseonselect>no</pulseonselect>
<font>font13</font>
<label>$LOCALIZE[20126] $INFO[system.profilename]</label>
<visible>System.HasLoginScreen | IntegerGreaterThan(System.ProfileCount,1)</visible>
<visible>System.Loggedon</visible>
</control>
<control type="togglebutton" id="10">
<description>Master mode button</description>
<width>340</width>
<height>40</height>
<label>20046</label>
<altlabel>20045</altlabel>
<align>center</align>
<aligny>center</aligny>
<textwidth>290</textwidth>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
<texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
<usealttexture>!System.IsMaster</usealttexture>
<alttexturefocus border="25,5,25,5">ShutdownButtonFocus.png</alttexturefocus>
<alttexturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</alttexturenofocus>
<onclick>xbmc.mastermode</onclick>
<pulseonselect>no</pulseonselect>
<font>font13</font>
<visible>System.HasLocks</visible>
</control>
<control type="group" id="11">
<width>340</width>
<height>70</height>
<visible>System.HasAlarm(shutdowntimer)</visible>
<control type="image">
<description>background top image</description>
<posx>0</posx>
<posy>0</posy>
<width>340</width>
<height>70</height>
<texture border="25,5,25,5">DialogContextMiddle.png</texture>
</control>
<control type="textbox">
<posx>25</posx>
<posy>20</posy>
<width>290</width>
<height>50</height>
<font>font12</font>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<align>center</align>
<label>$LOCALIZE[31329] [B]$INFO[System.Alarmpos][/B]</label>
</control>
</control>
<control type="button" id="12">
<description>Inhibit idle shutdown</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.InhibitIdleShutdown(true)</onclick>
<pulseonselect>no</pulseonselect>
<font>font13</font>
<label>13017</label>
<visible>System.HasShutdown +!System.IsInhibit</visible>
</control>
<control type="button" id="13">
<description>Allow idle shutdown</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.InhibitIdleShutdown(false)</onclick>
<pulseonselect>no</pulseonselect>
<font>font13</font>
<label>13018</label>
<visible>System.HasShutdown + System.IsInhibit</visible>
</control>
<control type="button" id="14">
<description>Settings 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>dialog.close(shutdownmenu)</onclick>
<onclick>ActivateWindow(Settings),return</onclick>
<pulseonselect>no</pulseonselect>
<font>font13</font>
<label>$LOCALIZE[5]</label>
<visible>Skin.HasSetting(HideSytemMenuItem)</visible>
</control>
to:
Code:
<control type="button" id="2">
<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.Quit()</onclick>
<pulseonselect>no</pulseonselect>
<font>font13</font>
<label>13012</label>
<visible>System.ShowExitButton</visible>
</control>
Option 2 - This will make XBMC shut down straight from the 'Shutdown' icon. No popup window or anything. Again, I use the confluence.custom.mod skin so my options are in the 720p folder of that skin. Yours might be different. (Note, I basically just changed all instances of "ActivateWindow(ShutdownMenu)' to 'XBMC.Quit()' in the 720p folder, and it resulted in changing only three lines in three files.)
IncludesMenuContentItems-Bruce.xml:
change:
Code:
<onclick>Skin.SetString($INFO[Window(home).Property(UsrSelectBtn)].Path,ActivateWindow(ShutdownMenu))</onclick>
to:
Code:
<onclick>Skin.SetString($INFO[Window(home).Property(UsrSelectBtn)].Path,XBMC.Quit())</onclick>
IncludesVariables.xml:
change:
Code:
<value>ActivateWindow(ShutdownMenu)</value>
to:
Code:
<value>XBMC.Quit()</value>
LoginScreen.xml:
change:
Code:
<onclick>ActivateWindow(ShutdownMenu)</onclick>
to:
Code:
<onclick>XBMC.Quit()</onclick>
If you figure it out mark this as solved so others might be able to use it too. FYI, this is for use with XBMC 13 Gotham. I found older ways of doing this, but they don't work in Gotham and above anymore.