git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- redraw now in idle
[enigma2.git]
/
components.py
diff --git
a/components.py
b/components.py
index 7c7932316f0feddcf36c13ed9f718e997ef56a5d..8ae480681f8eba24abfc6c74c23f3b5aa007624a 100644
(file)
--- a/
components.py
+++ b/
components.py
@@
-82,6
+82,10
@@
class Clock(HTMLComponent, GUIComponent, VariableText):
VariableText.__init__(self)
GUIComponent.__init__(self)
self.doClock()
VariableText.__init__(self)
GUIComponent.__init__(self)
self.doClock()
+
+ self.clockTimer = eTimer()
+ self.clockTimer.timeout.get().append(self.doClock)
+ self.clockTimer.start(1000)
# "funktionalitaet"
def doClock(self):
# "funktionalitaet"
def doClock(self):