aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Sources/Clock.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-06-17 16:48:40 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-06-17 16:48:40 +0000
commitee0903f520403c5e03caef287f813e7b062d05ab (patch)
tree947857d4c0ee13747b403a04f06f5078319e0c80 /lib/python/Components/Sources/Clock.py
parent9c3098c8667241d18d2551a9a37ce7fbce396b71 (diff)
downloadenigma2-ee0903f520403c5e03caef287f813e7b062d05ab.tar.gz
enigma2-ee0903f520403c5e03caef287f813e7b062d05ab.zip
add some new (currently unused) source/renderer based elements
Diffstat (limited to 'lib/python/Components/Sources/Clock.py')
-rw-r--r--lib/python/Components/Sources/Clock.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/python/Components/Sources/Clock.py b/lib/python/Components/Sources/Clock.py
index f840ea24..608a7190 100644
--- a/lib/python/Components/Sources/Clock.py
+++ b/lib/python/Components/Sources/Clock.py
@@ -6,16 +6,11 @@ from Source import Source
class Clock(Source):
def __init__(self):
- self.changed = Event(start=self.start, stop=self.stop)
+ Source.__init__(self)
self.clock_timer = eTimer()
self.clock_timer.timeout.get().append(self.changed)
-
- def start(self):
self.clock_timer.start(1000)
- def stop(self):
- self.clock_timer.stop()
-
def getClock(self):
return time.time()