SettingsCategory.xml subtitle
#1
i've added subcategory titles to the settingscategory.xml file by adding the following code.

settingscategory.xml: for each category setcatmusic, setcatpictures...
Quote:    <control>
     <visible>skin.hassetting(setcatvideos)</visible>
     <include>subtitle</include>
     <include>textcolorblue</include>
     <label>$localize[3] - $localize[10507]</label>
   </control>

settings.xml: for each category button setcatmusic, setcatpictures...
Quote:      <onclick>skin.resetsettings</onclick>
     <onclick>skin.togglesetting(setcatvideos)</onclick>
     <onclick>activatewindow(myvideossettings)</onclick>

the thing with this is, if i added different settings they would be reset also.

does anybody know a better way to add the subcategory titles to settingscategory.xml?

thanks



For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#2
nice inventive approach Smile

why not just use <visible>window.isactive(mymusicsettings)</visible>

etc?

cheers,
jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
because i didn't read the manual.

thank you Smile
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply

Logout Mark Read Team Forum Stats Members Help
SettingsCategory.xml subtitle0