Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tutorius/translator.py
diff options
context:
space:
mode:
authormike <michael.jmontcalm@gmail.com>2009-12-09 02:58:20 (GMT)
committer mike <michael.jmontcalm@gmail.com>2009-12-09 03:07:06 (GMT)
commit394001c2e7c8585b7152e8f5888e340a0c7a1bbc (patch)
tree6254b8f0a17768c9e47aeafa5ff2c1992ff6d33c /tutorius/translator.py
parentcf6785d168eaf3ed5505705478a6aea05ad3da98 (diff)
Integration with Sugar : Exposing set_current_act on Service
Correcting two interface mismatches (install error on translator, subscribe error on creator) Changing MessageButtonNext to ButtonNext
Diffstat (limited to 'tutorius/translator.py')
-rw-r--r--tutorius/translator.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tutorius/translator.py b/tutorius/translator.py
index bd24f8f..fee964f 100644
--- a/tutorius/translator.py
+++ b/tutorius/translator.py
@@ -172,7 +172,7 @@ class ResourceTranslator(object):
# was installed
action_installed_cb(address)
- def action_install_error(self, install_error_cb, old_action, exception):
+ def action_install_error(self, install_error_cb, old_action, new_action, exception):
# Warn the upper layer that the installation failed
install_error_cb(old_action, exception)
@@ -186,7 +186,8 @@ class ResourceTranslator(object):
self.translate(new_action)
# Send the new action to the probe manager
- self._probe_manager.install(new_action, save_args(self.action_installed, action_installed_cb),
+ self._probe_manager.install(new_action,
+ save_args(self.action_installed, action_installed_cb),
save_args(self.action_install_error, error_cb, new_action),
is_editing=is_editing,
editing_cb=editing_cb)