X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/87a694395b1942209d18a8a1fc5105cb6ac3d754..0af48c266741db09f550dd513b5220b188dbb17f:/lib/python/Components/UsageConfig.py diff --git a/lib/python/Components/UsageConfig.py b/lib/python/Components/UsageConfig.py index 507696f0..b3658018 100644 --- a/lib/python/Components/UsageConfig.py +++ b/lib/python/Components/UsageConfig.py @@ -25,6 +25,19 @@ def InitUsageConfig(): ("do not change", _("do not change")), ("off", _("off")), ("on", _("on")) ]) config.usage.self_defined_seek = ConfigInteger(default=10, limits=(1,9999)) + config.usage.pip_zero_button = ConfigSelection(default = "standard", choices = [ + ("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")) ]) + + config.usage.on_long_powerpress = ConfigSelection(default = "show_menu", choices = [ + ("show_menu", _("show shutdown menu")), + ("shutdown", _("immediate shutdown")) ] ) + def setHDDStandby(configElement): os.system("hdparm -S" + configElement.value + " /dev/ide/host0/bus0/target0/lun0/disc") config.usage.hdd_standby.addNotifier(setHDDStandby)