diff options
| author | thedoc <thedoc@atom.(none)> | 2010-01-01 14:00:47 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2010-10-06 22:48:57 +0200 |
| commit | e5ea5996f6f641d5f66f23f9cfba273722740582 (patch) | |
| tree | 7b53ffe7e5bf1fa94984f7d819ad41221f6eb4ef | |
| parent | cdb4e68027ec99a49805d8ab5e84d644f5ec2ff1 (diff) | |
| download | enigma2-e5ea5996f6f641d5f66f23f9cfba273722740582.tar.gz enigma2-e5ea5996f6f641d5f66f23f9cfba273722740582.zip | |
fixes bug #362
allow assigning standby function to long power button press
| -rwxr-xr-x | mytest.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |
