aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-17 18:00:02 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-17 18:00:02 +0000
commitd570ce4a7202de8b265fc2420d5219d13e105f95 (patch)
tree180921887af41d93c6eaa1bfd8a43447a7d51d43
parent1e1c01fece5a4a86a762af265e382da5dbb2d8cb (diff)
downloadenigma2-d570ce4a7202de8b265fc2420d5219d13e105f95.tar.gz
enigma2-d570ce4a7202de8b265fc2420d5219d13e105f95.zip
tutorial manager proof-of-concept
-rw-r--r--data/tutorialwizard.xml17
-rw-r--r--lib/python/Screens/TutorialWizard.py2
-rw-r--r--lib/python/Screens/Wizard.py5
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