git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some fixes on the subservices quickzapper
[enigma2.git]
/
lib
/
python
/
Components
/
config.py
diff --git
a/lib/python/Components/config.py
b/lib/python/Components/config.py
index 4217202102561c4f3cfceacfea816a9047420884..c17e5aa12922350e88d3d64807c1b96ecc2cebad 100644
(file)
--- a/
lib/python/Components/config.py
+++ b/
lib/python/Components/config.py
@@
-188,6
+188,8
@@
class configSequenceArg:
if (type == "IP"):
return (("."), [(0,255),(0,255),(0,255),(0,255)], "")
# configsequencearg.get ("MAC")
if (type == "IP"):
return (("."), [(0,255),(0,255),(0,255),(0,255)], "")
# configsequencearg.get ("MAC")
+ if (type == "POSITION"):
+ return ((","), [(0,args[0]),(0,args[1]),(0,args[2]),(0,args[3])], "")
if (type == "MAC"):
return ((":"), [(1,255),(1,255),(1,255),(1,255),(1,255),(1,255)], "")
# configsequencearg.get ("CLOCK")
if (type == "MAC"):
return ((":"), [(1,255),(1,255),(1,255),(1,255),(1,255),(1,255)], "")
# configsequencearg.get ("CLOCK")
@@
-614,7
+616,7
@@
def getConfigListEntry(description, element):
item = b.controlType(b)
return ((description, item))
item = b.controlType(b)
return ((description, item))
-def configElementBoolean(name, default, texts=(_("
Enable"), _("Dis
able"))):
+def configElementBoolean(name, default, texts=(_("
Disable"), _("En
able"))):
return configElement(name, configSelection, default, texts)
config.misc = ConfigSubsection()
return configElement(name, configSelection, default, texts)
config.misc = ConfigSubsection()