from enigma import eTimer, eDVBCI_UI, eListboxPythonStringContent, eListboxPythonConfigContent
-TYPE_MENU = 0
-TYPE_CONFIG = 1
MAX_NUM_CI = 4
def InitCiConfig():
self["subtitle"] = Label("")
self["bottom"] = Label("")
self["entries"] = ConfigList([ ])
- self.listtype = TYPE_CONFIG
self["actions"] = NumberActionMap(["SetupActions"],
{
try:
List.instance.moveSelectionTo(0)
except:
- List.l.setList(list)
- return
-
- if self.tag and self.tag == "ENQ":
- type = TYPE_CONFIG
- else:
- type = TYPE_MENU
-
- if type != self.listtype:
- if type == TYPE_CONFIG:
- List.l = eListboxPythonConfigContent()
- else:
- List.l = eListboxPythonStringContent()
- List.instance.setContent(List.l)
- self.listtype = type
-
+ pass
List.l.setList(list)
def showWait(self):
self["subtitle"].setText("")
self["bottom"].setText("")
list = [ ]
- list.append( ("wait for ci...", 0) )
+ list.append( (_("wait for ci..."), ConfigNothing()) )
self.updateList(list)
def showScreen(self):