diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2007-08-29 13:43:51 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2007-08-29 13:43:51 +0000 |
| commit | 26d569766a7da60ee54ed9b1116a62a539bb8909 (patch) | |
| tree | 83b0a11f07e57ba44ebc2c8bda67d0e9a142a0fd /lib/python/Components | |
| parent | e1493861d34034f141b90c97ff7d918dabb26a4d (diff) | |
| download | enigma2-26d569766a7da60ee54ed9b1116a62a539bb8909.tar.gz enigma2-26d569766a7da60ee54ed9b1116a62a539bb8909.zip | |
implement 'setup modes' (simple, intermediate, expert)
Diffstat (limited to 'lib/python/Components')
| -rw-r--r-- | lib/python/Components/UsageConfig.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/python/Components/UsageConfig.py b/lib/python/Components/UsageConfig.py index d122a4f7..581e7cea 100644 --- a/lib/python/Components/UsageConfig.py +++ b/lib/python/Components/UsageConfig.py @@ -29,6 +29,11 @@ def InitUsageConfig(): ("standard", _("standard")), ("swap", _("swap PiP and main picture")), ("swapstop", _("move PiP to main picture")), ("stop", _("stop PiP")) ]) + config.usage.setup_level = ConfigSelection(default = "intermediate", choices = [ + ("simple", _("Simple")), + ("intermediate", _("Intermediate")), + ("expert", _("Expert")) ]) + def setHDDStandby(configElement): os.system("hdparm -S" + configElement.value + " /dev/ide/host0/bus0/target0/lun0/disc") config.usage.hdd_standby.addNotifier(setHDDStandby) |
