From a029953596adaed49a5b0346acd5a867eff91a57 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Fri, 14 Sep 2007 11:27:41 +0000 Subject: add the name of missing skin element to debug output --- lib/python/Components/GUIComponent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/python/Components/GUIComponent.py') diff --git a/lib/python/Components/GUIComponent.py b/lib/python/Components/GUIComponent.py index 401a004d..c900796d 100644 --- 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: - 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 -- cgit v1.2.3