add colorbuttons to TimerEditList
[enigma2.git] / skin.py
diff --git a/skin.py b/skin.py
index fa5f6fb53a15ecc6e93885729735bf84b7a3959e..5744855ce35d431077448c4378f77248892b465e 100644 (file)
--- a/skin.py
+++ b/skin.py
@@ -80,6 +80,14 @@ def applySingleAttribute(guiObject, desktop, attrib, value):
                        desktop.makeCompatiblePixmap(ptr)
                        guiObject.setPixmap(ptr)
                        # guiObject.setPixmapFromFile(value)
+               elif attrib == "orientation": # used by eSlider
+                       try:
+                               guiObject.setOrientation(
+                                       { "orVertical": guiObject.orVertical,
+                                               "orHorizontal": guiObject.orHorizontal
+                                       }[value])
+                       except KeyError:
+                               print "oprientation must be either orVertical or orHorizontal!"
                elif attrib == "valign":
                        try:
                                guiObject.setVAlign(