diff options
| -rw-r--r-- | data/tutorialwizard.xml | 17 | ||||
| -rw-r--r-- | lib/python/Screens/TutorialWizard.py | 2 | ||||
| -rw-r--r-- | 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 @@ <wizard> <step number="1"> - <text value="Your dreambox is a very powerful digital receiver." /> + <text value="By pressing the OK Button on your remote control, the info bar is being displayed." /> + <code> +from Screens.InfoBar import InfoBar +self.infobardialog = self.session.instantiateDialog(InfoBar) +self.infobardialog.hideTimer.stop() +self.infobardialog.instance.show() + </code> + </step> + <step number="2"> + <text value="By pressing the OK Button on your remote control, the info bar is being displayed." /> + <code> +from Screens.InfoBar import InfoBar +self.infobardialog = self.session.instantiateDialog(InfoBar) +self.infobardialog.hideTimer.stop() +self.infobardialog.instance.show() + </code> </step> </wizard> 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 = """ - <screen position="0,0" size="720,560" title="Welcome..." flags="wfNoBorder" > + <screen position="0,0" size="720,300" title="Welcome..." flags="wfNoBorder" > <widget name="text" position="50,100" size="440,200" font="Arial;23" /> <widget name="rc" pixmap="/usr/share/enigma2/rc.png" position="500,600" zPosition="10" size="154,475" transparent="1" alphatest="on"/> <widget name="arrowdown" pixmap="/usr/share/enigma2/arrowdown.png" position="0,0" zPosition="11" size="37,70" transparent="1" alphatest="on"/> 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 |
