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 red record button only if hdd is present
[enigma2.git]
/
lib
/
python
/
Components
/
ConditionalWidget.py
diff --git
a/lib/python/Components/ConditionalWidget.py
b/lib/python/Components/ConditionalWidget.py
index 5ff77980a12634b68a2f0f24e6674ac5747e6d6d..8fb7c38935437d1d048f771ecfb894a89f7ae1ad 100644
(file)
--- a/
lib/python/Components/ConditionalWidget.py
+++ b/
lib/python/Components/ConditionalWidget.py
@@
-31,9
+31,6
@@
class Widget(GUIComponent):
self.state = self.HIDDEN
self.instance.hide()
self.state = self.HIDDEN
self.instance.hide()
- def removeWidget(self, instance):
- pass
-
class ConditionalWidget(Widget):
def __init__(self, withTimer = True):
Widget.__init__(self)
class ConditionalWidget(Widget):
def __init__(self, withTimer = True):
Widget.__init__(self)
@@
-43,7
+40,7
@@
class ConditionalWidget(Widget):
if (withTimer):
self.conditionCheckTimer = eTimer()
self.conditionCheckTimer.timeout.get().append(self.update)
if (withTimer):
self.conditionCheckTimer = eTimer()
self.conditionCheckTimer.timeout.get().append(self.update)
- self.conditionCheckTimer.start(
10
00)
+ self.conditionCheckTimer.start(
5
00)
def setConnect(self, conditionalFunction):
self.conditionalFunction = conditionalFunction
def setConnect(self, conditionalFunction):
self.conditionalFunction = conditionalFunction