update ok and cancel in the timer editor
[enigma2.git] / skin.py
diff --git a/skin.py b/skin.py
index 27fc7d5d4b461a08abe9e3a65d0ef32a48739d4c..c6d0678a142691d0419e9d3467389964458aa161 100644 (file)
--- a/skin.py
+++ b/skin.py
@@ -130,6 +130,12 @@ def applySingleAttribute(guiObject, desktop, attrib, value):
                        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:
@@ -159,7 +165,7 @@ def loadSkin(desktop):
        for windowstyle in elementsWithTag(skin.childNodes, "windowstyle"):
                style = eWindowStyleSkinned()
                
-               style.setTitleFont(gFont("Arial", 20));
+               style.setTitleFont(gFont("Regular", 20));
                style.setTitleOffset(eSize(20, 5));
                
                for borderset in elementsWithTag(windowstyle.childNodes, "borderset"):