aboutsummaryrefslogtreecommitdiff
path: root/timer.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-01-24 23:13:15 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-01-24 23:13:15 +0000
commitdb2f1b7b345f68095dfeac660fda2105efb485a7 (patch)
tree203091fefb93582f294ef8ea2c0e33c14d311bcf /timer.py
parent18d75f10661cbd4b83b2deb49f56ee7c4c2435cf (diff)
downloadenigma2-db2f1b7b345f68095dfeac660fda2105efb485a7.tar.gz
enigma2-db2f1b7b345f68095dfeac660fda2105efb485a7.zip
cleanup the timerlist by pressing blue in the timer list
Diffstat (limited to 'timer.py')
-rw-r--r--timer.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/timer.py b/timer.py
index 9fa0ab2a..5500c34a 100644
--- a/timer.py
+++ b/timer.py
@@ -110,6 +110,9 @@ class Timer:
def stateChanged(self, entry):
for f in self.on_state_change:
f(entry)
+
+ def cleanup(self):
+ self.processed_timers = []
def addTimerEntry(self, entry, noRecalc=0):
entry.processRepeated()