Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordave <drykod@gmail.com>2009-12-09 04:58:54 (GMT)
committer dave <drykod@gmail.com>2009-12-09 04:58:54 (GMT)
commitbe9519e96af2b0a26aec36b031118ae1e473fd08 (patch)
treec5557fc53cffe7bbe0a5038153d82b90e1a532e8
parent05e92e5d1739e4e261a427054ac61d9d9be7cc8a (diff)
fix end tutorial message to be displayed on current activity
-rw-r--r--tutorius/creator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tutorius/creator.py b/tutorius/creator.py
index 12f48aa..cdd7878 100644
--- a/tutorius/creator.py
+++ b/tutorius/creator.py
@@ -115,9 +115,9 @@ class Creator(Object):
new_state=self._state)
final_event = addon.create(
name='MessageButtonNext',
- message=T('This is the end of this tutorial.',
- source=self._probe_mgr.currentActivity)
+ message=T('This is the end of this tutorial.')
)
+ final_event.source = self._probe_mgr.currentActivity
self._tutorial.add_transition(
state_name=self._state,
transition=(final_event, self._tutorial.END),