diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-11-01 17:40:01 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-11-01 17:40:01 +0000 |
| commit | 129435aa2331ed21d08baea536d5915d287fd472 (patch) | |
| tree | d517fb65abc9f4400adc4632624a787d65e74086 /lib/python/Components/GUIComponent.py | |
| parent | ed45a5fb1613bdb96ca475fee0fe26d3fe66add7 (diff) | |
| download | enigma2-129435aa2331ed21d08baea536d5915d287fd472.tar.gz enigma2-129435aa2331ed21d08baea536d5915d287fd472.zip | |
print a warning for now that the skin misses some elements
Diffstat (limited to 'lib/python/Components/GUIComponent.py')
| -rw-r--r-- | lib/python/Components/GUIComponent.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/python/Components/GUIComponent.py b/lib/python/Components/GUIComponent.py index 41461306..1f4c1e4f 100644 --- a/lib/python/Components/GUIComponent.py +++ b/lib/python/Components/GUIComponent.py @@ -8,6 +8,7 @@ class GUIComponent(object): def __init__(self): self.instance = None self.visible = 1 + self.skinAttributes = None def execBegin(self): pass @@ -28,6 +29,11 @@ class GUIComponent(object): def applySkin(self, desktop): if not self.visible: self.instance.hide() + + if self.skinAttributes is None: + print "warning, skin is missing some elements." + return + skin.applyAllAttributes(self.instance, desktop, self.skinAttributes) def move(self, x, y): |
