[mythtv-theming] Announcing change to theme state names

John P Poet jppoet at gmail.com
Tue Feb 2 19:22:20 UTC 2010


Just in case anyone missed it,
http://svn.mythtv.org/trac/changeset/23443 changes some of the state
names used in themes.  Anywhere a buttonlist or spinbox is used,
current themes will need to be updated to use new state names:

Old:
selected == button is selected and list has focus
active == button is not selected but the list has focus
inactive == button is selected but list does not have focus

New:
selectedactive == button is selected and list has focus
selectedinactive == button is selected but the list does not have focus
active == button is not selected and the list has focus
inactive == button is not selected and the list does not have focus

http://svn.mythtv.org/trac/ticket/7781 has a simple shell script
attached, which will make these changes in in xml files it finds in
the current directory as well as any subdirectories:

http://svn.mythtv.org/trac/attachment/ticket/7781/selectedinactive-v3.sh

For example,

$ cd myththemes
$ selectedinactive-v3.sh

Thats it.  All xml files will be updated with the new state names.

For anyone that submitted a theme for the competition, the mythtv
maintainers will make the appropriate changes to the themes as they
were submitted.  You do not need to do anything for the competition.


John
-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


More information about the mythtv-theming mailing list