projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4fd109a
)
ignore name also for additional objects
author
Felix Domke
<tmbinc@elitedvb.net>
Mon, 26 Jun 2006 15:55:44 +0000
(15:55 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Mon, 26 Jun 2006 15:55:44 +0000
(15:55 +0000)
skin.py
patch
|
blob
|
history
diff --git
a/skin.py
b/skin.py
index
08bc6c5
..
f34ea9c
100644
(file)
--- a/
skin.py
+++ b/
skin.py
@@
-176,8
+176,8
@@
def applySingleAttribute(guiObject, desktop, attrib, value):
guiObject.setPointer(ptr.__deref__(), pos)
elif attrib == 'shadowOffset':
guiObject.setShadowOffset(parsePosition(value))
guiObject.setPointer(ptr.__deref__(), pos)
elif attrib == 'shadowOffset':
guiObject.setShadowOffset(parsePosition(value))
- el
if attrib != 'name'
:
-
print
"unsupported attribute " + attrib + "=" + value
+ el
se
:
+
raise
"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)
@@
-367,7
+367,7
@@
def readSkin(screen, skin, name, desktop):
raise SkinError("unsupported stuff : %s" % widget.tagName)
w.skinAttributes = [ ]
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
# applyAttributes(guiObject, widget, desktop)
# guiObject.thisown = 0