listbox: add ability to disable selection highlight
[vuplus_dvbapp] / skin.py
diff --git a/skin.py b/skin.py
index f5a6718..a409520 100644 (file)
--- a/skin.py
+++ b/skin.py
@@ -126,6 +126,8 @@ def applySingleAttribute(guiObject, desktop, attrib, value):
                        guiObject.setBackgroundColor(parseColor(value))
                elif attrib == "foregroundColor":
                        guiObject.setForegroundColor(parseColor(value))
+               elif attrib == "selectionDisabled":
+                       guiObject.setSelectionEnable(0)
                elif attrib != 'name':
                        print "unsupported attribute " + attrib + "=" + value
        except int: