support scale attribute for epixmap
authorFelix Domke <tmbinc@elitedvb.net>
Wed, 3 Jun 2009 12:56:50 +0000 (14:56 +0200)
committerFelix Domke <tmbinc@elitedvb.net>
Wed, 3 Jun 2009 12:59:34 +0000 (14:59 +0200)
skin.py

diff --git a/skin.py b/skin.py
index 3ceb2b490e356366add8e47a91c2bb95f1c0c70c..a76f7942c0897e8dd1de8d19d6db5196bd6bedca 100644 (file)
--- a/skin.py
+++ b/skin.py
@@ -145,6 +145,8 @@ def applySingleAttribute(guiObject, desktop, attrib, value, scale = ((1,1),(1,1)
                                  "off": 0,
                                  "blend": 2,
                                }[value])
                                  "off": 0,
                                  "blend": 2,
                                }[value])
+               elif attrib == "scale":
+                       guiObject.setScale(1)
                elif attrib == "orientation": # used by eSlider
                        try:
                                guiObject.setOrientation(*
                elif attrib == "orientation": # used by eSlider
                        try:
                                guiObject.setOrientation(*