From: Ronny Strutz Date: Sun, 13 Nov 2005 20:07:18 +0000 (+0000) Subject: use more generic .quit() X-Git-Tag: 2.6.0~5255 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/ef70219ab7250f14f0aec66670d67aaed4a0774f use more generic .quit() --- diff --git a/lib/python/Screens/InfoBar.py b/lib/python/Screens/InfoBar.py index 3c776178..e50d0a9e 100644 --- a/lib/python/Screens/InfoBar.py +++ b/lib/python/Screens/InfoBar.py @@ -157,8 +157,7 @@ class InfoBar(Screen): def powertimer(self): print "PowerOff - Now!" - configfile.save() - quitMainloop() + self.quit() def powerdown(self): self.powerKeyTimer.start(3000) @@ -248,10 +247,10 @@ class InfoBar(Screen): else: print 'no epg for service', ref.toString() - #def quit(self): - # self.session.open(Standby, self) - #configfile.save() - #quitMainloop() + def quit(self): + # self.session.open(Standby, self) + configfile.save() + quitMainloop() def stopCurrentRecording(self): print "remove entry"