git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdb4e68
)
fixes bug #362
author
thedoc
<thedoc@atom.(none)>
Fri, 1 Jan 2010 13:00:47 +0000
(14:00 +0100)
committer
ghost
<
[email protected]
>
Wed, 6 Oct 2010 20:48:57 +0000
(22:48 +0200)
allow assigning standby function to long power button press
mytest.py
patch
|
blob
|
history
diff --git
a/mytest.py
b/mytest.py
index 253ee16853a54272f7bee28871a6f709e42fa0b4..a3cfb5a2bddf44588edfb3eeecdb09565e369282 100755
(executable)
--- 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