X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FScreens%2FStandby.py;h=0c7670b96e420e8252fb1b06141712975f2c1f9e;hp=94a56ee44da0d6993ce8b7c7b89930c1cbd6b9f1;hb=HEAD;hpb=73bbafa8b6eb3caeba4eafc434c7e404f3ccb531 diff --git a/lib/python/Screens/Standby.py b/lib/python/Screens/Standby.py index 94a56ee..0c7670b 100644 --- a/lib/python/Screens/Standby.py +++ b/lib/python/Screens/Standby.py @@ -102,8 +102,10 @@ from enigma import quitMainloop, iRecordableService from Screens.MessageBox import MessageBox from time import time from Components.Task import job_manager +from Components.config import ConfigYesNo,NoSave inTryQuitMainloop = False +config.misc.DeepStandbyOn = NoSave(ConfigYesNo(default=False)) class TryQuitMainloop(MessageBox): def __init__(self, session, retvalue=1, timeout=-1, default_yes = True): @@ -160,6 +162,8 @@ class TryQuitMainloop(MessageBox): self.conntected=False self.session.nav.record_event.remove(self.getRecordEvent) if value: + if self.retval ==1: + config.misc.DeepStandbyOn.value=True quitMainloop(self.retval) else: MessageBox.close(self, True)