From: thedoc Date: Fri, 1 Jan 2010 13:00:47 +0000 (+0100) Subject: fixes bug #362 X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=e5ea5996f6f641d5f66f23f9cfba273722740582;ds=sidebyside fixes bug #362 allow assigning standby function to long power button press --- diff --git a/mytest.py b/mytest.py index 253ee16..a3cfb5a 100755 --- a/mytest.py +++ b/mytest.py @@ -383,6 +383,8 @@ class PowerKey: menu_screen = self.session.openWithCallback(self.MenuClosed, MainMenu, x) menu_screen.setTitle(_("Standby / Restart")) return + elif action == "standby": + self.standby() def powerdown(self): self.standbyblocked = 0