git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add the name of missing skin element to debug output
[enigma2.git]
/
lib
/
python
/
Components
/
GUIComponent.py
diff --git
a/lib/python/Components/GUIComponent.py
b/lib/python/Components/GUIComponent.py
index 401a004da350b9f5bd1fc1988b2cb827d2573850..c900796d566fd3a559e82f823cdab9b8fd417041 100644
(file)
--- a/
lib/python/Components/GUIComponent.py
+++ b/
lib/python/Components/GUIComponent.py
@@
-31,10
+31,10
@@
class GUIComponent(object):
self.instance.hide()
if self.skinAttributes is None:
self.instance.hide()
if self.skinAttributes is None:
- print "warning, skin is missing some elements."
- return
+ return False
skin.applyAllAttributes(self.instance, desktop, self.skinAttributes)
skin.applyAllAttributes(self.instance, desktop, self.skinAttributes)
+ return True
def move(self, x, y = None):
# we assume, that x is already an ePoint
def move(self, x, y = None):
# we assume, that x is already an ePoint