From 49ab39870266196f6267f83dd6951f839ebde773 Mon Sep 17 00:00:00 2001 From: mike Date: Fri, 04 Dec 2009 02:21:14 +0000 Subject: Merge ../../simpoirs-clone into remote_integration Conflicts: src/extensions/tutoriusremote.py --- (limited to 'tutorius/translator.py') diff --git a/tutorius/translator.py b/tutorius/translator.py index 4f29078..bd24f8f 100644 --- a/tutorius/translator.py +++ b/tutorius/translator.py @@ -177,7 +177,7 @@ class ResourceTranslator(object): install_error_cb(old_action, exception) # Decorated functions - def install(self, action, action_installed_cb, error_cb): + def install(self, action, action_installed_cb, error_cb, is_editing=False, editing_cb=None): # Make a new copy of the action that we want to install, # because translate() changes the action and we # don't want to modify the caller's action representation @@ -187,7 +187,9 @@ class ResourceTranslator(object): # Send the new action to the probe manager self._probe_manager.install(new_action, save_args(self.action_installed, action_installed_cb), - save_args(self.action_install_error, error_cb, new_action)) + save_args(self.action_install_error, error_cb, new_action), + is_editing=is_editing, + editing_cb=editing_cb) def update(self, action_address, newaction): translated_new_action = copy_module.deepcopy(newaction) -- cgit v0.9.1