aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@2mac.waldobjekt.org>2009-06-24 23:47:30 +0200
committerFelix Domke <tmbinc@2mac.waldobjekt.org>2009-06-24 23:47:30 +0200
commit69ad5b69a69b3a9006824832afb3fa8cecb061b9 (patch)
treec51286d5a6154f0bd93000d8661aa9f4f358d08d /lib/python
parent5b3739ccccddb795ca7e75e60f202cbce5c78144 (diff)
parent77bc87782b4c84b835649f6125b89de33d12c46e (diff)
downloadenigma2-69ad5b69a69b3a9006824832afb3fa8cecb061b9.tar.gz
enigma2-69ad5b69a69b3a9006824832afb3fa8cecb061b9.zip
Merge branch 'master' of git.opendreambox.org:/git/enigma2
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Plugins/Extensions/DVDBurn/Process.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/python/Plugins/Extensions/DVDBurn/Process.py b/lib/python/Plugins/Extensions/DVDBurn/Process.py
index 9a37c14e..74ffbde7 100644
--- a/lib/python/Plugins/Extensions/DVDBurn/Process.py
+++ b/lib/python/Plugins/Extensions/DVDBurn/Process.py
@@ -395,8 +395,12 @@ class PreviewTask(Task):
if self.job.menupreview:
self.previewProject()
else:
- from Tools import Notifications
- Notifications.AddNotificationWithCallback(self.previewCB, MessageBox, _("Do you want to preview this DVD before burning?"), timeout = 60, default = False)
+ import Screens.Standby
+ if Screens.Standby.inStandby:
+ self.previewCB(False)
+ else:
+ from Tools import Notifications
+ Notifications.AddNotificationWithCallback(self.previewCB, MessageBox, _("Do you want to preview this DVD before burning?"), timeout = 60, default = False)
def abort(self):
self.finish(aborted = True)