Wizard shouldn't be a subclass of HelpableScreen since there is no help
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Tue, 7 Oct 2008 09:00:00 +0000 (09:00 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Tue, 7 Oct 2008 09:00:00 +0000 (09:00 +0000)
available (prevents crash)
pressing help while in videowizard could also lead to invisible GUI so
each wizard should implement help for itself to fit its specific needs

lib/python/Screens/Wizard.py

index ab1f188..dfb28e2 100644 (file)
@@ -45,7 +45,7 @@ class WizardSummary(Screen):
        def setText(self, text):
                self["text"].setText(text)
 
-class Wizard(Screen, HelpableScreen):
+class Wizard(Screen):
        def createSummary(self):
                        print "WizardCreateSummary"
                        return WizardSummary
@@ -150,7 +150,6 @@ class Wizard(Screen, HelpableScreen):
 
        def __init__(self, session, showSteps = True, showStepSlider = True, showList = True, showConfig = True):
                Screen.__init__(self, session)
-               HelpableScreen.__init__(self)
 
                self.stepHistory = []