add the name of missing skin element to debug output
[enigma2.git] / lib / python / Components / GUIComponent.py
index 401a004da350b9f5bd1fc1988b2cb827d2573850..c900796d566fd3a559e82f823cdab9b8fd417041 100644 (file)
@@ -31,10 +31,10 @@ class GUIComponent(object):
                        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)
+               return True
 
        def move(self, x, y = None):
                # we assume, that x is already an ePoint