Kodi Community Forum
Bug Hibernate menu subitem unchangeable - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Skin Archive (https://forum.kodi.tv/forumdisplay.php?fid=179)
+----- Forum: Ace 2 (https://forum.kodi.tv/forumdisplay.php?fid=190)
+----- Thread: Bug Hibernate menu subitem unchangeable (/showthread.php?tid=161936)



Hibernate menu subitem unchangeable - Poulpe_38 - 2013-04-09

Hello everyone,

I've spotted an issue with the current (1.4.0) version of Ace : the "Hibernate" item located in the Exit Submenu can't be deactivated and stays always visible.

After some digging it seems that there's a typo in the CustomSubShutdown.xml file :

Code:
<item><!-- Hibernate-->
    <label fallback="31061">$INFO[skin.string(shutdownhibernate.label)]</label>
    <icon fallback="-">$INFO[skin.string(shutdownhibernate.bg)]</icon>
    <property name="condition">$INFO[skin.string(shutdownhibernate.submenu),on)]</property>
    <property name="empty">true</property>
    <property name="type">default</property>
    <property name="name">hutdownhibernate</property>
    <onclick condition="!Skin.HasSetting(custommode)">Close</onclick>
    <onclick condition="!Skin.HasSetting(custommode)">Hibernate</onclick>
    <onclick condition="Skin.HasSetting(custommode)">SetFocus(5120)</onclick>
    <visible>[SubString(skin.string(shutdownhibernate.submenu),on) | Skin.HasSetting(custommode)]</visible>
    </item>

Here the line
Code:
<property name="name">hutdownhibernate</property>
should be
Code:
<property name="name">shutdownhibernate</property>

I tried and it seems to solve the problem.