diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-09 01:07:10 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-09 01:07:10 +0000 |
| commit | 1a1ed192c7d9009498b004f52334e3c705380a1c (patch) | |
| tree | 5ce256f4ac354be13326a0d1c47368fa11fd6f26 /lib/python | |
| parent | d2e6f12364527def4672a566323654758d8f3d19 (diff) | |
| download | enigma2-1a1ed192c7d9009498b004f52334e3c705380a1c.tar.gz enigma2-1a1ed192c7d9009498b004f52334e3c705380a1c.zip | |
add tunersetup to the startwizard (just a proof of concept as of now)
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Screens/Satconfig.py | 8 | ||||
| -rw-r--r-- | lib/python/Screens/Wizard.py | 1 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lib/python/Screens/Satconfig.py b/lib/python/Screens/Satconfig.py index 21063942..e6033ebc 100644 --- a/lib/python/Screens/Satconfig.py +++ b/lib/python/Screens/Satconfig.py @@ -98,9 +98,13 @@ class NimSetup(Screen): x[1].cancel() self.close() - def __init__(self, session, nim): + def __init__(self, session, nim = None): Screen.__init__(self, session) - self.nim = nim + + if nim == None: + self.nim = nimmanager.nimList()[0][1] + else: + self.nim = nim self["actions"] = NumberActionMap(["SetupActions"], { diff --git a/lib/python/Screens/Wizard.py b/lib/python/Screens/Wizard.py index c055f312..ac85b4c6 100644 --- a/lib/python/Screens/Wizard.py +++ b/lib/python/Screens/Wizard.py @@ -106,6 +106,7 @@ class WelcomeWizard(Screen, HelpableScreen): self["list"].l.setList(self.list) if (self.wizard[self.currStep]["config"] != None): + print self.wizard[self.currStep]["config"] self.configInstance = self.session.instantiateDialog(self.wizard[self.currStep]["config"]) self["config"].l.setList(self.configInstance["config"].list) else: |
