aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Label.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-06 19:10:57 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-06 19:10:57 +0000
commited6ab83ab71bbef6d8df689f9ea7f9c1474f625f (patch)
treef2ffa0f280e4452c341ebae6c4aad464eb2af4f8 /lib/python/Components/Label.py
parent64e44eef78c26d1d6d5a1662ad1d105fb96e9061 (diff)
downloadenigma2-ed6ab83ab71bbef6d8df689f9ea7f9c1474f625f.tar.gz
enigma2-ed6ab83ab71bbef6d8df689f9ea7f9c1474f625f.zip
show green button and subservices-text only when subservices are available (showing of the label doesn't work. why?)
Diffstat (limited to 'lib/python/Components/Label.py')
-rw-r--r--lib/python/Components/Label.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/python/Components/Label.py b/lib/python/Components/Label.py
index c2d57743..c4efcda4 100644
--- a/lib/python/Components/Label.py
+++ b/lib/python/Components/Label.py
@@ -2,6 +2,8 @@ from HTMLComponent import *
from GUIComponent import *
from VariableText import *
+from ConditionalWidget import *
+
from enigma import eLabel
class Label(HTMLComponent, GUIComponent, VariableText):
@@ -27,3 +29,8 @@ class Label(HTMLComponent, GUIComponent, VariableText):
def hide(self):
self.instance.hide()
+
+class LabelConditional(ConditionalWidget, Label):
+ def __init__(self, text = "", withTimer = True):
+ ConditionalWidget.__init__(self, withTimer = withTimer)
+ Label.__init__(self, text = text) \ No newline at end of file