Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tutorius/actions.py6
-rw-r--r--tutorius/creator.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/tutorius/actions.py b/tutorius/actions.py
index 7811dfd..c61837e 100644
--- a/tutorius/actions.py
+++ b/tutorius/actions.py
@@ -95,7 +95,7 @@ class DragWrapper(object):
xparent,yparent,mods = rootwin.get_pointer()
self.position = (int(xparent-xrel), int(yparent-yrel))
- self.LOGGER.debug("%s drag-end pos: (%s,%s)"%(str(widget),self.position))
+ LOGGER.debug("%s drag-end pos: %s"%(str(widget),str(self.position)))
LOGGER.debug("DragWrapper :: Sending update notification...")
self.update_action_cb('position', self.position)
@@ -196,9 +196,9 @@ class Action(TPropContainer):
def notify(self):
LOGGER.debug("Action :: Notifying creator with new values in dict : %s"%(str(self._diff_dict)))
# If a notification callback was registered
- if self._property_update_cb:
+ if self._properties_updated_cb:
# Propagate it
- self._property_update_cb(self._diff_dict)
+ self._properties_updated_cb(self._diff_dict)
# Empty the diff dict as we just synchronized with the creator
self._diff_dict.clear()
diff --git a/tutorius/creator.py b/tutorius/creator.py
index 50017dc..5ec0d18 100644
--- a/tutorius/creator.py
+++ b/tutorius/creator.py
@@ -320,7 +320,7 @@ class Creator(Object):
self.set_insertion_point(new_state)
def properties_changed(self, action):
- LOGGER.debug("Creator :: properties_changed for action at address %s to %s"%(action.address))
+ LOGGER.debug("Creator :: properties_changed for action at address %s"%(action.address))
address = action.address
self._probe_mgr.update(address,
action,