From 4347756c56a155ffe3c0ad61c74b385fdad923b4 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Fri, 18 Apr 2008 19:06:21 +0000 Subject: [PATCH 1/1] no need to define skin in skin_default.xml and .py files --- lib/python/Screens/ImageWizard.py | 10 +--------- lib/python/Screens/StartWizard.py | 19 ------------------- lib/python/Screens/TutorialWizard.py | 12 ------------ 3 files changed, 1 insertion(+), 40 deletions(-) diff --git a/lib/python/Screens/ImageWizard.py b/lib/python/Screens/ImageWizard.py index ad0640cf..faf6120b 100644 --- a/lib/python/Screens/ImageWizard.py +++ b/lib/python/Screens/ImageWizard.py @@ -19,18 +19,10 @@ else: backupAvailable = 1 class ImageWizard(Wizard): - skin = """ - - - - - """ - def __init__(self, session): self.xmlfile = "imagewizard.xml" - Wizard.__init__(self, session, showSteps=False, showStepSlider=False, showList=True, showConfig=True) - + def markDone(self): pass diff --git a/lib/python/Screens/StartWizard.py b/lib/python/Screens/StartWizard.py index aff6e742..7f64624e 100644 --- a/lib/python/Screens/StartWizard.py +++ b/lib/python/Screens/StartWizard.py @@ -11,27 +11,8 @@ config.misc.firstrun = ConfigBoolean(default = True) config.misc.languageselected = ConfigBoolean(default = True) class StartWizard(WizardLanguage): - skin = """ - - - - - - - - - - - - - - - """ - def __init__(self, session): - self.skin = StartWizard.skin self.xmlfile = "startwizard.xml" - WizardLanguage.__init__(self, session, showSteps = False) self["wizard"] = Pixmap() self["rc"] = MovingPixmap() diff --git a/lib/python/Screens/TutorialWizard.py b/lib/python/Screens/TutorialWizard.py index 8c0b79d6..1c0c4108 100644 --- a/lib/python/Screens/TutorialWizard.py +++ b/lib/python/Screens/TutorialWizard.py @@ -6,20 +6,8 @@ from Components.Pixmap import MovingPixmap config.misc.firstruntutorial = ConfigBoolean(default = True) class TutorialWizard(Wizard): - skin = """ - - - - - - - - """ - def __init__(self, session): - self.skin = TutorialWizard.skin self.xmlfile = "tutorialwizard.xml" - Wizard.__init__(self, session, showSteps=False, showStepSlider=False, showList=True, showConfig=False) self["rc"] = MovingPixmap() self["arrowdown"] = MovingPixmap() -- 2.30.2