From 394001c2e7c8585b7152e8f5888e340a0c7a1bbc Mon Sep 17 00:00:00 2001 From: mike Date: Wed, 09 Dec 2009 02:58:20 +0000 Subject: 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 --- (limited to 'tutorius/translator.py') 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) -- cgit v0.9.1