add the name of missing skin element to debug output
[enigma2.git] / lib / python / Components / GUIComponent.py
index 401a004..c900796 100644 (file)
@@ -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