aboutsummaryrefslogtreecommitdiff
path: root/skin.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-05-08 17:43:23 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-05-08 17:43:23 +0000
commit4bbe1d7e132ead361bf179b8ee618bdaba2335dc (patch)
treec31523646bfc302e7554af69ae2719e8a7ed8fa4 /skin.py
parent001474bf008af703869dbffff19d596054dd5bad (diff)
downloadenigma2-4bbe1d7e132ead361bf179b8ee618bdaba2335dc.tar.gz
enigma2-4bbe1d7e132ead361bf179b8ee618bdaba2335dc.zip
fix shadowOffset attribute
Diffstat (limited to 'skin.py')
-rw-r--r--skin.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/skin.py b/skin.py
index c16d998c..fbc5bcd8 100644
--- a/skin.py
+++ b/skin.py
@@ -155,10 +155,11 @@ def applySingleAttribute(guiObject, desktop, attrib, value):
ptr = loadPixmap(resolveFilename(SCOPE_SKIN_IMAGE, name))
desktop.makeCompatiblePixmap(ptr.__deref__())
guiObject.setPointer(ptr.__deref__(), pos)
- elif attrib != 'name':
- print "unsupported attribute " + attrib + "=" + value
elif attrib == 'shadowOffset':
guiObject.setShadowOffset(parsePosition(value))
+ elif attrib != 'name':
+ print "unsupported attribute " + attrib + "=" + value
+
except int:
# AttributeError:
print "widget %s (%s) doesn't support attribute %s!" % ("", guiObject.__class__.__name__, attrib)