use more generic .quit()
authorRonny Strutz <ronny.strutz@multimedia-labs.de>
Sun, 13 Nov 2005 20:07:18 +0000 (20:07 +0000)
committerRonny Strutz <ronny.strutz@multimedia-labs.de>
Sun, 13 Nov 2005 20:07:18 +0000 (20:07 +0000)
lib/python/Screens/InfoBar.py

index 3c776178b799633944e944957238788f54c6ef84..e50d0a9ece861c76b35c86031edc0aaf08f9a732 100644 (file)
@@ -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"