X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/2d56db2bf96ca3ca320a5c25c0e2ee6f3435ab43..8eec1849afbd482b7712cc000f7978731e3074ba:/skin.py diff --git a/skin.py b/skin.py index baa53f74..8de161da 100644 --- a/skin.py +++ b/skin.py @@ -56,7 +56,9 @@ try: except (SkinError, IOError, AssertionError), err: print "SKIN ERROR:", err print "defaulting to standard skin..." + config.skin.primary_skin.value = 'skin.xml' loadSkin('skin.xml') + loadSkin('skin_default.xml') def parsePosition(str): @@ -128,8 +130,9 @@ def applySingleAttribute(guiObject, desktop, attrib, value): # guiObject.setPixmapFromFile(value) elif attrib == "alphatest": # used by ePixmap guiObject.setAlphatest( - { "on": True, - "off": False + { "on": 1, + "off": 0, + "blend": 2, }[value]) elif attrib == "orientation": # used by eSlider try: