aboutsummaryrefslogtreecommitdiff
path: root/data/tutorialwizard.xml
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-18 01:38:16 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-18 01:38:16 +0000
commit98208302bd3bdbf99ab801260bf8d023035d8d41 (patch)
tree60101491273f05a060807ee13b2e755bdbc3dc0a /data/tutorialwizard.xml
parentd570ce4a7202de8b265fc2420d5219d13e105f95 (diff)
downloadenigma2-98208302bd3bdbf99ab801260bf8d023035d8d41.tar.gz
enigma2-98208302bd3bdbf99ab801260bf8d023035d8d41.zip
add a wizard attribute pos="after" to <code> to execute code after a step is finished
close the infobar in step 2
Diffstat (limited to 'data/tutorialwizard.xml')
-rw-r--r--data/tutorialwizard.xml13
1 files changed, 6 insertions, 7 deletions
diff --git a/data/tutorialwizard.xml b/data/tutorialwizard.xml
index 53046a20..06d48bc6 100644
--- a/data/tutorialwizard.xml
+++ b/data/tutorialwizard.xml
@@ -7,14 +7,13 @@ self.infobardialog = self.session.instantiateDialog(InfoBar)
self.infobardialog.hideTimer.stop()
self.infobardialog.instance.show()
</code>
+ <code pos="after">
+self.infobardialog.instance.hide()
+del self.infobardialog
+ </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>
+ <text value="This is step number 2." />
</step>
</wizard>