Kodi Community Forum

Full Version: Shutdown Confirmation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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!
(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.
Alrighty, that was fast. Thanks!
Is there a way to disable it? I personally don't care for the confirmation pop-up either.
there´s always a way Wink needs code change though
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.
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.