aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--skin.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/skin.py b/skin.py
index ed48546e..8de161da 100644
--- a/skin.py
+++ b/skin.py
@@ -130,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: