aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorthedoc <thedoc@atom.(none)>2010-01-01 14:07:03 +0100
committerghost <andreas.monzner@multimedia-labs.de>2010-10-06 22:31:35 +0200
commitca4b0f86ca83b25fdbd56942d4576603721dcd29 (patch)
tree88aa2c947597d3feef03e9f2473c395b24f2b4c0 /lib/python
parentc18bde2f75df7aa93eefbaf866d28fe1a5d290b8 (diff)
downloadenigma2-ca4b0f86ca83b25fdbd56942d4576603721dcd29.tar.gz
enigma2-ca4b0f86ca83b25fdbd56942d4576603721dcd29.zip
fixes bug #362
allow configuring short power button action to shutdown, standby, menu
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/UsageConfig.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/python/Components/UsageConfig.py b/lib/python/Components/UsageConfig.py
index 572f47e0..b86c1a13 100644
--- a/lib/python/Components/UsageConfig.py
+++ b/lib/python/Components/UsageConfig.py
@@ -51,7 +51,14 @@ def InitUsageConfig():
config.usage.on_long_powerpress = ConfigSelection(default = "show_menu", choices = [
("show_menu", _("show shutdown menu")),
- ("shutdown", _("immediate shutdown")) ] )
+ ("shutdown", _("immediate shutdown")),
+ ("standby", _("Standby")) ] )
+
+ config.usage.on_short_powerpress = ConfigSelection(default = "standby", choices = [
+ ("show_menu", _("show shutdown menu")),
+ ("shutdown", _("immediate shutdown")),
+ ("standby", _("Standby")) ] )
+
config.usage.alternatives_priority = ConfigSelection(default = "0", choices = [
("0", "DVB-S/-C/-T"),