("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)