aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2008-12-03 17:20:48 +0100
committerghost <andreas.monzner@multimedia-labs.de>2008-12-03 17:20:48 +0100
commitcc53ef67c6cfb594f1d30d1367210c0d3bc41d15 (patch)
tree757e86c795347bae644fdc3fcb9af6973ad2b376 /lib/python
parent792af02ab9c2242cd15150fe0409418e9652b6fd (diff)
downloadenigma2-cc53ef67c6cfb594f1d30d1367210c0d3bc41d15.tar.gz
enigma2-cc53ef67c6cfb594f1d30d1367210c0d3bc41d15.zip
show timer name in dialog when asking to remove it
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/TimerEdit.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/python/Screens/TimerEdit.py b/lib/python/Screens/TimerEdit.py
index aae345db..18ab2b79 100644
--- a/lib/python/Screens/TimerEdit.py
+++ b/lib/python/Screens/TimerEdit.py
@@ -199,9 +199,11 @@ class TimerEditList(Screen):
self.updateState()
def removeTimerQuestion(self):
- if not self["timerlist"].getCurrent():
+ cur = self["timerlist"].getCurrent()
+ if not cur:
return
- self.session.openWithCallback(self.removeTimer, MessageBox, _("Really delete this timer?"))
+
+ self.session.openWithCallback(self.removeTimer, MessageBox, _("Do you really want to delete %s?") % (cur.name))
def removeTimer(self, result):
if not result: