git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
show green button and subservices-text only when subservices are available (showing...
[enigma2.git]
/
lib
/
python
/
Components
/
Label.py
diff --git
a/lib/python/Components/Label.py
b/lib/python/Components/Label.py
index c2d577435e7c09b4891a6676fcafa67fb3b20818..c4efcda4753b3fd0165620d3196d8e34d2239140 100644
(file)
--- 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 GUIComponent import *
from VariableText import *
+from ConditionalWidget import *
+
from enigma import eLabel
class Label(HTMLComponent, GUIComponent, VariableText):
from enigma import eLabel
class Label(HTMLComponent, GUIComponent, VariableText):
@@
-27,3
+29,8
@@
class Label(HTMLComponent, GUIComponent, VariableText):
def hide(self):
self.instance.hide()
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