From 281453adb0ff8b3e86eb47aca241284d0cfd7313 Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 18 Feb 2011 16:37:35 +0100 Subject: fixed oled/lcd clear on enigma2 shutdown fixes bug #690 --- lib/python/Screens/Standby.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'lib/python/Screens/Standby.py') diff --git a/lib/python/Screens/Standby.py b/lib/python/Screens/Standby.py index 1a7ebbd1..c93dd008 100644 --- a/lib/python/Screens/Standby.py +++ b/lib/python/Screens/Standby.py @@ -160,14 +160,7 @@ class TryQuitMainloop(MessageBox): self.conntected=False self.session.nav.record_event.remove(self.getRecordEvent) if value: - # 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) + quitMainloop(self.retval) def __onShow(self): global inTryQuitMainloop -- cgit v1.2.3 From dd8a62a39c055230364641b7413ca34b2f00e51c Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 18 Feb 2011 16:46:25 +0100 Subject: Standby.py: re-add remove MessageBox.close refs #690 --- lib/python/Screens/Standby.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/python/Screens/Standby.py') diff --git a/lib/python/Screens/Standby.py b/lib/python/Screens/Standby.py index c93dd008..94a56ee4 100644 --- a/lib/python/Screens/Standby.py +++ b/lib/python/Screens/Standby.py @@ -161,6 +161,8 @@ class TryQuitMainloop(MessageBox): self.session.nav.record_event.remove(self.getRecordEvent) if value: quitMainloop(self.retval) + else: + MessageBox.close(self, True) def __onShow(self): global inTryQuitMainloop -- cgit v1.2.3