aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/UsageConfig.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2007-08-29 13:43:51 +0000
committerFelix Domke <tmbinc@elitedvb.net>2007-08-29 13:43:51 +0000
commit26d569766a7da60ee54ed9b1116a62a539bb8909 (patch)
tree83b0a11f07e57ba44ebc2c8bda67d0e9a142a0fd /lib/python/Components/UsageConfig.py
parente1493861d34034f141b90c97ff7d918dabb26a4d (diff)
downloadenigma2-26d569766a7da60ee54ed9b1116a62a539bb8909.tar.gz
enigma2-26d569766a7da60ee54ed9b1116a62a539bb8909.zip
implement 'setup modes' (simple, intermediate, expert)
Diffstat (limited to 'lib/python/Components/UsageConfig.py')
-rw-r--r--lib/python/Components/UsageConfig.py5
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)