git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
small cleanup
[enigma2.git]
/
lib
/
python
/
Components
/
UsageConfig.py
diff --git
a/lib/python/Components/UsageConfig.py
b/lib/python/Components/UsageConfig.py
index d122a4f7ef54869e9c996f1076caebebafa3b9d7..581e7cea6ac4b8f7c9fad98414e1209451b2531c 100644
(file)
--- 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")) ])
("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)
def setHDDStandby(configElement):
os.system("hdparm -S" + configElement.value + " /dev/ide/host0/bus0/target0/lun0/disc")
config.usage.hdd_standby.addNotifier(setHDDStandby)