Shutdown Confirmation

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
disco277 Offline
Junior Member
Posts: 9
Joined: Mar 2010
Reputation: 0
Post: #1
It's probably somewhere really obvious but I can find it for the life of me...

Is there a way to disable the Shutdown Confirmation where it asks you "Yes" or "No"?

Thanks!


Onkyo TX-NR609, AMD Phenom II X6 1055t, Sapphire HD 5450, XBMC 11 RC2 with HD patch
find quote
phil65 Offline
Skilled Skinner
Posts: 4,456
Joined: Mar 2009
Reputation: 56
Location: Cologne, Germany
Post: #2
(2012-06-19 16:58)disco277 Wrote:  It's probably somewhere really obvious but I can find it for the life of me...

Is there a way to disable the Shutdown Confirmation where it asks you "Yes" or "No"?

Thanks!

no.
find quote
disco277 Offline
Junior Member
Posts: 9
Joined: Mar 2010
Reputation: 0
Post: #3
Alrighty, that was fast. Thanks!


Onkyo TX-NR609, AMD Phenom II X6 1055t, Sapphire HD 5450, XBMC 11 RC2 with HD patch
find quote
aelahi Offline
Junior Member
Posts: 18
Joined: Dec 2010
Reputation: 0
Post: #4
Is there a way to disable it? I personally don't care for the confirmation pop-up either.
find quote
phil65 Offline
Skilled Skinner
Posts: 4,456
Joined: Mar 2009
Reputation: 56
Location: Cologne, Germany
Post: #5
there´s always a way Wink needs code change though
find quote
CutSickAss Offline
Fan
Posts: 430
Joined: Dec 2011
Reputation: 28
Location: Greece
Post: #6
Open Includes_MainMenu.xml, find (probably around line 1072):
Code:
<onclick>ActivateWindow(1113)</onclick>
and change it to:
Code:
<onclick>Shutdown()</onclick>

Also, even though it's not necessary, you may delete the 2 occurances of "Window.IsVisible(1113) | "
in this file, as well as the file titled custom_1113_ShutdownWarning.xml, I think you'll have no problems.
(This post was last modified: 2012-06-19 20:47 by CutSickAss.)
find quote
phil65 Offline
Skilled Skinner
Posts: 4,456
Joined: Mar 2009
Reputation: 56
Location: Cologne, Germany
Post: #7
btw with GIT aeon nox version you can create what you want without adjusting code. just create a custom home menu item and choose "pre-defined function" as type. then just click on shutdown. done. Smile

EDIT: forgot that you can also do it with 3.0 already Smile choose custom as type and enter "Shutdown()" then. it won´t be overwritten by updates then anymore.
(This post was last modified: 2012-06-19 20:58 by phil65.)
find quote