git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
001474b
)
fix shadowOffset attribute
author
Stefan Pluecken
<stefan.pluecken@multimedia-labs.de>
Mon, 8 May 2006 17:43:23 +0000
(17:43 +0000)
committer
Stefan Pluecken
<stefan.pluecken@multimedia-labs.de>
Mon, 8 May 2006 17:43:23 +0000
(17:43 +0000)
skin.py
patch
|
blob
|
history
diff --git
a/skin.py
b/skin.py
index c16d998c25e6772802ef083aea69c2cb117eba60..fbc5bcd8d843c25f8b439d6eb7cd3d38c887948b 100644
(file)
--- 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)
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 == '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)
except int:
# AttributeError:
print "widget %s (%s) doesn't support attribute %s!" % ("", guiObject.__class__.__name__, attrib)