Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tutorius/translator.py
diff options
context:
space:
mode:
authorerick <erick@sugar-dev-erick.(none)>2009-12-05 21:03:59 (GMT)
committer erick <erick@sugar-dev-erick.(none)>2009-12-05 21:03:59 (GMT)
commitc14688d67a82b7ec7746beda90da915c98600a3d (patch)
tree1b5fb911f16826290bb4fbebc29e3dd1308626de /tutorius/translator.py
parent3a1303ab5fa37d2a9881682af29fa4e177ea67ec (diff)
parent0e6a6e03c520b86ee36d79d4cd0daf06f84632a3 (diff)
Merge branch 'frame_integration' into revamped_dragndrop
Conflicts: tutorius/actions.py
Diffstat (limited to 'tutorius/translator.py')
-rw-r--r--tutorius/translator.py6
1 files changed, 4 insertions, 2 deletions
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)