diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2008-07-07 20:22:30 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2008-07-07 20:22:30 +0000 |
| commit | bdbf663b67d46f79ba2163f6b7df377a63218092 (patch) | |
| tree | 0206ac15dcfe03d1a5819e90694ade45700152ac /lib/python/Screens/StartWizard.py | |
| parent | fefaf0d0f2b71ee47ffe0c227e1778f7d99e9430 (diff) | |
| download | enigma2-bdbf663b67d46f79ba2163f6b7df377a63218092.tar.gz enigma2-bdbf663b67d46f79ba2163f6b7df377a63218092.zip | |
- allow multiple xml control files for one wizard (to combine wizards, that should also be able to run standalone)
- separate question for default sat lists in start wizard
Diffstat (limited to 'lib/python/Screens/StartWizard.py')
| -rw-r--r-- | lib/python/Screens/StartWizard.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/python/Screens/StartWizard.py b/lib/python/Screens/StartWizard.py index d0ece295..1c4cfb24 100644 --- a/lib/python/Screens/StartWizard.py +++ b/lib/python/Screens/StartWizard.py @@ -1,5 +1,7 @@ from Wizard import wizardManager from Screens.WizardLanguage import WizardLanguage +from Screens.ScanSetup import DefaultSatLists +from Screens.DefaultWizard import DefaultWizard from Components.Pixmap import Pixmap, MovingPixmap from Components.config import config, ConfigBoolean, configfile, ConfigSubsection @@ -12,10 +14,11 @@ config.misc.startwizard.shownimconfig = ConfigBoolean(default = True) config.misc.startwizard.doservicescan = ConfigBoolean(default = True) config.misc.languageselected = ConfigBoolean(default = True) -class StartWizard(WizardLanguage): - def __init__(self, session): - self.xmlfile = "startwizard.xml" +class StartWizard(DefaultSatLists): + def __init__(self, session, silent = True, showSteps = False, neededTag = None): + self.xmlfile = ["startwizard.xml", "defaultsatlists.xml"] WizardLanguage.__init__(self, session, showSteps = False) + DefaultWizard.__init__(self, session, silent, showSteps, neededTag = "services") self["wizard"] = Pixmap() self["rc"] = MovingPixmap() self["arrowdown"] = MovingPixmap() |
