diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-06-26 15:55:44 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-06-26 15:55:44 +0000 |
| commit | 77c8f937479f32b4197e0917660a1700cd022a3e (patch) | |
| tree | 4a39a47f2c1ad8063af9cfe05a31407b4f5db888 | |
| parent | 4fd109a340e025e07e01deecdf20581c17f0039d (diff) | |
| download | enigma2-77c8f937479f32b4197e0917660a1700cd022a3e.tar.gz enigma2-77c8f937479f32b4197e0917660a1700cd022a3e.zip | |
ignore name also for additional objects
| -rw-r--r-- | skin.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -176,8 +176,8 @@ def applySingleAttribute(guiObject, desktop, attrib, value): guiObject.setPointer(ptr.__deref__(), pos) elif attrib == 'shadowOffset': guiObject.setShadowOffset(parsePosition(value)) - elif attrib != 'name': - print "unsupported attribute " + attrib + "=" + value + else: + raise "unsupported attribute " + attrib + "=" + value except int: # AttributeError: print "widget %s (%s) doesn't support attribute %s!" % ("", guiObject.__class__.__name__, attrib) @@ -367,7 +367,7 @@ def readSkin(screen, skin, name, desktop): raise SkinError("unsupported stuff : %s" % widget.tagName) w.skinAttributes = [ ] - collectAttributes(w.skinAttributes, widget, skin_path_prefix) + collectAttributes(w.skinAttributes, widget, skin_path_prefix, ignore=['name']) # applyAttributes(guiObject, widget, desktop) # guiObject.thisown = 0 |
