X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/a4bc78f89a0867d9dfdea23ac118f816981022bc..9f8ba87f60249139f18f10ab4ba84b187a97da33:/skin.py 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)