fix
[enigma2.git] / skin.py
diff --git a/skin.py b/skin.py
index 520780e6c2aef4d3e5fc5673af71d25ae664cd71..8535dc810ee34d27e9b0794fe0c00091bc9b802b 100644 (file)
--- a/skin.py
+++ b/skin.py
@@ -126,6 +126,16 @@ def applySingleAttribute(guiObject, desktop, attrib, value):
                        guiObject.setSelectionEnable(0)
                elif attrib == "transparent":
                        guiObject.setTransparent(int(value))
+               elif attrib == "borderColor":
+                       guiObject.setBorderColor(parseColor(value))
+               elif attrib == "borderWidth":
+                       guiObject.setBorderWidth(int(value))
+               elif attrib == "scrollbarMode":
+                       guiObject.setScrollbarMode(
+                               { "showOnDemand": guiObject.showOnDemand,
+                                       "showAlways": guiObject.showAlways,
+                                       "showNever": guiObject.showNever
+                               }[value])
                elif attrib != 'name':
                        print "unsupported attribute " + attrib + "=" + value
        except int: