diff options
| author | thedoc <thedoc@atom.(none)> | 2010-01-01 14:07:03 +0100 |
|---|---|---|
| committer | thedoc <thedoc@atom.(none)> | 2010-01-01 14:10:21 +0100 |
| commit | b6f95a8f5457c60ccc14192a4d13d3c05fa608be (patch) | |
| tree | 79c2d41a1903f1e68278947633ee24e514a8133d /lib/python | |
| parent | c9315c0737c473abd384dc8950b4c6bbd16dcccc (diff) | |
| download | enigma2-b6f95a8f5457c60ccc14192a4d13d3c05fa608be.tar.gz enigma2-b6f95a8f5457c60ccc14192a4d13d3c05fa608be.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.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/python/Components/UsageConfig.py b/lib/python/Components/UsageConfig.py index f133f9f6..21478e90 100644 --- a/lib/python/Components/UsageConfig.py +++ b/lib/python/Components/UsageConfig.py @@ -53,6 +53,12 @@ def InitUsageConfig(): ("show_menu", _("show shutdown menu")), ("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"), |
