Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tutorius/actions.py
diff options
context:
space:
mode:
authormike <michael.jmontcalm@gmail.com>2009-12-05 23:00:36 (GMT)
committer mike <michael.jmontcalm@gmail.com>2009-12-05 23:00:36 (GMT)
commiteef1dc1bfaaf0ddae4c73169f88293d908f98130 (patch)
treedc96ac01f037c36be2d0648cf9006b31b8609c9a /tutorius/actions.py
parentc14688d67a82b7ec7746beda90da915c98600a3d (diff)
Creator : Corrected the drag'n drop bug, corrected properties update bugrevamped_dragndrop
Conflicts: tutorius/actions.py
Diffstat (limited to 'tutorius/actions.py')
-rw-r--r--tutorius/actions.py6
1 files changed, 3 insertions, 3 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()