git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove debug
[enigma2.git]
/
lib
/
python
/
Components
/
ConditionalWidget.py
diff --git
a/lib/python/Components/ConditionalWidget.py
b/lib/python/Components/ConditionalWidget.py
index 7d35d9565ca2eb5556217cb47d26012ba2e31afe..c1baceb25400a1c98d0c85c9e499a296e9a5579d 100644
(file)
--- a/
lib/python/Components/ConditionalWidget.py
+++ b/
lib/python/Components/ConditionalWidget.py
@@
-1,4
+1,4
@@
-from GUIComponent import
*
+from GUIComponent import
GUIComponent
from enigma import eTimer
class ConditionalWidget(GUIComponent):
from enigma import eTimer
class ConditionalWidget(GUIComponent):
@@
-24,13
+24,10
@@
class ConditionalWidget(GUIComponent):
def update(self):
if (self.conditionalFunction != None):
try:
def update(self):
if (self.conditionalFunction != None):
try:
- self.conditionalFunction() # check, if the conditionalfunction is still valid
self.activateCondition(self.conditionalFunction())
except:
self.conditionalFunction = None
self.activateCondition(False)
self.activateCondition(self.conditionalFunction())
except:
self.conditionalFunction = None
self.activateCondition(False)
-
-import time
class BlinkingWidget(GUIComponent):
def __init__(self):
class BlinkingWidget(GUIComponent):
def __init__(self):