2013-09-12, 19:09
@SpaceMonkey: Did support for recent OpenELEC builds (where they now use a new OS settings module) ever make it into Confluence Modified, or has it been accidentally reverted (see post #261).
The following patch restores support for recent OpenELEC builds - both the button and the System Setting - while also fixing the typo in English System Setting:
The following patch restores support for recent OpenELEC builds - both the button and the System Setting - while also fixing the typo in English System Setting:
Code:
diff -uNr a/720p/IncludesHomeMenuItems.xml b/720p/IncludesHomeMenuItems.xml
--- a/720p/IncludesHomeMenuItems.xml 2013-09-12 17:40:11.199295694 +0100
+++ b/720p/IncludesHomeMenuItems.xml 2013-09-12 17:58:44.852769545 +0100
@@ -323,8 +323,9 @@
<control type="button" id="10046">
<include>ButtonHomeSubCommonValues</include>
<label>[COLOR FF757677]Open[/COLOR][COLOR FF8ABEE2]ELEC[/COLOR]</label>
- <onclick>RunAddon(os.openelec.settings)</onclick>
- <visible>System.HasAddon(os.openelec.settings) + !Skin.HasSetting(SubmenuSystemOpenELEC.Hidden)</visible>
+ <onclick condition="System.HasAddon(os.openelec.settings)">RunAddon(os.openelec.settings)</onclick>
+ <onclick condition="System.HasAddon(service.openelec.settings)">RunAddon(service.openelec.settings)</onclick>
+ <visible>[System.HasAddon(os.openelec.settings) | System.HasAddon(service.openelec.settings)] + !Skin.HasSetting(SubmenuSystemOpenELEC.Hidden)</visible>
</control>
<control type="button" id="10047">
<include>ButtonHomeSubCommonValues</include>
diff -uNr a/720p/SkinSettings.xml b/720p/SkinSettings.xml
--- a/720p/SkinSettings.xml 2013-09-12 17:41:20.948220189 +0100
+++ b/720p/SkinSettings.xml 2013-09-12 17:42:48.840428812 +0100
@@ -3604,7 +3604,7 @@
<texturenofocus>MenuItemNF.png</texturenofocus>
<selected>!Skin.HasSetting(SubmenuSystemOpenELEC.Hidden)</selected>
<onclick>Skin.ToggleSetting(SubmenuSystemOpenELEC.Hidden)</onclick>
- <visible>System.HasAddon(os.openelec.settings)</visible>
+ <visible>System.HasAddon(os.openelec.settings) | System.HasAddon(service.openelec.settings)</visible>
</control>
<control type="radiobutton" id="3162">
diff -uNr a/language/English/strings.po b/language/English/strings.po
--- a/language/English/strings.po 2013-09-12 17:45:55.863930539 +0100
+++ b/language/English/strings.po 2013-09-12 17:46:04.718243064 +0100
@@ -778,7 +778,7 @@
msgstr ""
msgctxt "#90042"
-msgid "OpenElEC"
+msgid "OpenELEC"
msgstr ""
msgctxt "#90043"