aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/TimerEdit.py
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2009-02-12 21:25:08 +0100
committerghost <andreas.monzner@multimedia-labs.de>2009-02-12 21:25:08 +0100
commit76e5181cade262b86610dcc851bcb4452196ccdc (patch)
tree25831b32e1543b893a033729e472dd679dffdc64 /lib/python/Screens/TimerEdit.py
parent00248c1a8794e64b8ce82d9cdefdd3ddae98dffd (diff)
downloadenigma2-76e5181cade262b86610dcc851bcb4452196ccdc.tar.gz
enigma2-76e5181cade262b86610dcc851bcb4452196ccdc.zip
small speedups/cleanups by moritz venn
Diffstat (limited to 'lib/python/Screens/TimerEdit.py')
-rw-r--r--lib/python/Screens/TimerEdit.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/python/Screens/TimerEdit.py b/lib/python/Screens/TimerEdit.py
index bb2d3c76..cdff4c5b 100644
--- a/lib/python/Screens/TimerEdit.py
+++ b/lib/python/Screens/TimerEdit.py
@@ -95,10 +95,11 @@ class TimerEditList(Screen):
else:
if t.isRunning():
if t.repeated:
- list = []
- list.append((_("Stop current event but not coming events"), "stoponlycurrent"))
- list.append((_("Stop current event and disable coming events"), "stopall"))
- list.append((_("Don't stop current event but disable coming events"), "stoponlycoming"))
+ list = (
+ (_("Stop current event but not coming events"), "stoponlycurrent"),
+ (_("Stop current event and disable coming events"), "stopall"),
+ (_("Don't stop current event but disable coming events"), "stoponlycoming")
+ )
self.session.openWithCallback(boundFunction(self.runningEventCallback, t), ChoiceBox, title=_("Repeating event currently recording... What do you want to do?"), list = list)
else:
t.disable()