aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/UsageConfig.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2007-07-18 22:13:48 +0000
committerFelix Domke <tmbinc@elitedvb.net>2007-07-18 22:13:48 +0000
commit87a694395b1942209d18a8a1fc5105cb6ac3d754 (patch)
tree277d22d58c1f5134e9210186f436e5d045099229 /lib/python/Components/UsageConfig.py
parent35d026372584a1653e27db4c7d4060c327be8d53 (diff)
downloadenigma2-87a694395b1942209d18a8a1fc5105cb6ac3d754.tar.gz
enigma2-87a694395b1942209d18a8a1fc5105cb6ac3d754.zip
(ralfk) user defined skip times with 1/3, add 1/3 to keybindings, remove duplicate code in InfoBarGenerics, add hideAfterResume, add some help texts
Diffstat (limited to 'lib/python/Components/UsageConfig.py')
-rw-r--r--lib/python/Components/UsageConfig.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Components/UsageConfig.py b/lib/python/Components/UsageConfig.py
index 0c976db6..507696f0 100644
--- a/lib/python/Components/UsageConfig.py
+++ b/lib/python/Components/UsageConfig.py
@@ -1,4 +1,4 @@
-from config import ConfigSubsection, ConfigYesNo, config, ConfigSelection, ConfigText
+from config import ConfigSubsection, ConfigYesNo, config, ConfigSelection, ConfigText, ConfigInteger
from enigma import Misc_Options
import os
@@ -23,6 +23,7 @@ def InitUsageConfig():
("248", "4 " + _("hours")) ])
config.usage.output_12V = ConfigSelection(default = "do not change", choices = [
("do not change", _("do not change")), ("off", _("off")), ("on", _("on")) ])
+ config.usage.self_defined_seek = ConfigInteger(default=10, limits=(1,9999))
def setHDDStandby(configElement):
os.system("hdparm -S" + configElement.value + " /dev/ide/host0/bus0/target0/lun0/disc")