aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2009-08-13 13:51:41 +0200
committerghost <andreas.monzner@multimedia-labs.de>2009-08-13 13:51:41 +0200
commit269c1d980e92fa79d72c19b0a51db16240b2649d (patch)
treef1113a0078bf302a36607a64501449196e4d5e19 /lib
parent8a54d14d80727d2da69979419630c438967276e5 (diff)
downloadenigma2-269c1d980e92fa79d72c19b0a51db16240b2649d.tar.gz
enigma2-269c1d980e92fa79d72c19b0a51db16240b2649d.zip
Screens/Standby.py: call quitMainloop after closing the TryQuitMainloop screen..
this clears the display and the framebuffer before quit enigma2
Diffstat (limited to 'lib')
-rw-r--r--lib/python/Screens/Standby.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/python/Screens/Standby.py b/lib/python/Screens/Standby.py
index 8314e213..b8ccb6c2 100644
--- a/lib/python/Screens/Standby.py
+++ b/lib/python/Screens/Standby.py
@@ -162,9 +162,14 @@ class TryQuitMainloop(MessageBox):
self.conntected=False
self.session.nav.record_event.remove(self.getRecordEvent)
if value:
- quitMainloop(self.retval)
- else:
- MessageBox.close(self, True)
+ # hack .. we dont like to show any other screens when this screen has closed
+ self.onClose = [self.__closed]
+ self.session.dialog_stack = []
+ self.session.summary_stack = [None]
+ MessageBox.close(self, True)
+
+ def __closed(self):
+ quitMainloop(self.retval)
def __onShow(self):
global inTryQuitMainloop