aboutsummaryrefslogtreecommitdiff
path: root/RecordTimer.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-05-25 23:14:05 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-05-25 23:14:05 +0000
commitfb412ff32c7938649c72d55eed3f5c8ccb5e0a99 (patch)
treedbb7a55d966b6c56d506427a8576ab1afb337bb1 /RecordTimer.py
parent48f2728ecdeabde7de0f497f8a69dbddcb047b90 (diff)
downloadenigma2-fb412ff32c7938649c72d55eed3f5c8ccb5e0a99.tar.gz
enigma2-fb412ff32c7938649c72d55eed3f5c8ccb5e0a99.zip
add timeout for MessageBox screens (just add timeout=<seconds> as argument when creating MessageBox instances)
Diffstat (limited to 'RecordTimer.py')
-rw-r--r--RecordTimer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/RecordTimer.py b/RecordTimer.py
index 5c64f9b1..10a60138 100644
--- a/RecordTimer.py
+++ b/RecordTimer.py
@@ -160,10 +160,10 @@ class RecordTimerEntry(timer.TimerEntry):
self.first_try_prepare = False
if config.recording.asktozap.value == 0:
self.log(8, "asking user to zap away")
- Notifications.AddNotificationWithCallback(self.failureCB, MessageBox, _("A timer failed to record!\nDisable TV and try again?\n"))
+ Notifications.AddNotificationWithCallback(self.failureCB, MessageBox, _("A timer failed to record!\nDisable TV and try again?\n"), timeout=15)
else: # zap without asking
self.log(9, "zap without asking")
- Notifications.AddNotification(MessageBox, _("In order to record a timer, the TV was switched to the recording service!\n"), type=MessageBox.TYPE_WARNING)
+ Notifications.AddNotification(MessageBox, _("In order to record a timer, the TV was switched to the recording service!\n"), type=MessageBox.TYPE_WARNING, timeout=15)
self.failureCB(True)
self.do_backoff()