From d570ce4a7202de8b265fc2420d5219d13e105f95 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Sat, 17 Dec 2005 18:00:02 +0000 Subject: [PATCH] tutorial manager proof-of-concept --- data/tutorialwizard.xml | 17 ++++++++++++++++- lib/python/Screens/TutorialWizard.py | 2 +- lib/python/Screens/Wizard.py | 5 ----- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/data/tutorialwizard.xml b/data/tutorialwizard.xml index f48812d2..53046a20 100644 --- a/data/tutorialwizard.xml +++ b/data/tutorialwizard.xml @@ -1,5 +1,20 @@ - + + +from Screens.InfoBar import InfoBar +self.infobardialog = self.session.instantiateDialog(InfoBar) +self.infobardialog.hideTimer.stop() +self.infobardialog.instance.show() + + + + + +from Screens.InfoBar import InfoBar +self.infobardialog = self.session.instantiateDialog(InfoBar) +self.infobardialog.hideTimer.stop() +self.infobardialog.instance.show() + diff --git a/lib/python/Screens/TutorialWizard.py b/lib/python/Screens/TutorialWizard.py index 2d30b012..0ba97d3a 100644 --- a/lib/python/Screens/TutorialWizard.py +++ b/lib/python/Screens/TutorialWizard.py @@ -10,7 +10,7 @@ config.misc.firstruntutorial = configElementBoolean("config.misc.firstruntutoria class TutorialWizard(Wizard): skin = """ - + diff --git a/lib/python/Screens/Wizard.py b/lib/python/Screens/Wizard.py index d652ec21..610dd295 100644 --- a/lib/python/Screens/Wizard.py +++ b/lib/python/Screens/Wizard.py @@ -107,11 +107,6 @@ class Wizard(Screen, HelpableScreen): "9": self.keyNumberGlobal, "0": self.keyNumberGlobal }, -1) - - #self["actions"] = HelpableActionMap(self, "OkCancelActions", - #{ - #"ok": (self.ok, _("Close this Screen...")), - #}) def back(self): self.currStep -= 1 -- 2.30.2