diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-09 00:44:40 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-09 00:44:40 +0000 |
| commit | d2e6f12364527def4672a566323654758d8f3d19 (patch) | |
| tree | 674e6efc2a60230bcb5d8649db57af092fa5f5df /lib/python | |
| parent | 1036de712ab59acf11d5012d182cea8734b8412b (diff) | |
| download | enigma2-d2e6f12364527def4672a566323654758d8f3d19.tar.gz enigma2-d2e6f12364527def4672a566323654758d8f3d19.zip | |
some code cleanup
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Screens/Wizard.py | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/lib/python/Screens/Wizard.py b/lib/python/Screens/Wizard.py index 8922380d..c055f312 100644 --- a/lib/python/Screens/Wizard.py +++ b/lib/python/Screens/Wizard.py @@ -8,7 +8,6 @@ from Components.config import config, configElementBoolean from Components.Pixmap import * from Components.MenuList import MenuList from Components.ConfigList import ConfigList -from Screens.ScanSetup import ScanSimple from xml.sax import make_parser from xml.sax.handler import ContentHandler @@ -64,38 +63,27 @@ class WelcomeWizard(Screen, HelpableScreen): HelpableScreen.__init__(self) self.wizard = {} - print self.wizard parser = make_parser() print "Reading startwizard.xml" wizardHandler = self.parseWizard(self.wizard) parser.setContentHandler(wizardHandler) parser.parse('/usr/share/enigma2/startwizard.xml') - print self.wizard - - self.numSteps = 4 + self.numSteps = len(self.wizard) self.currStep = 1 self["text"] = Label() self["rc"] = MovingPixmap() self["arrowdown"] = MovingPixmap() - self["arrowdown"].moveTo(557, 232, 10) self["arrowup"] = MovingPixmap() - self["rc"].moveTo(500, 50, 10) + self["config"] = ConfigList([]) - - self.onShown.append(self["arrowdown"].startMoving) - self.onShown.append(self["rc"].startMoving) self["step"] = Label() self["stepslider"] = Slider(1, self.numSteps) - #self.scanSetupDialog = self.session.instantiateDialog(ScanSimple) - self.list = [] - #list.append(("Use wizard to set up basic features", None)) - #list.append(("Exit wizard", None)) self["list"] = MenuList(self.list) self.updateValues() |
