Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorent <florent.pigout@gmail.com>2011-04-28 23:24:17 (GMT)
committer florent <florent.pigout@gmail.com>2011-04-28 23:24:17 (GMT)
commit42d54d0d846809acc709235bc918bee51fa72865 (patch)
tree7bf71fbedd562085e1f07e5e17039145b73f2b6c
parentd27938e59d0e43380c808b8be9f271a488ceebad (diff)
fix programming error
-rw-r--r--atoidejouer/ui/screens.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/atoidejouer/ui/screens.py b/atoidejouer/ui/screens.py
index ac1bf59..0e834cf 100644
--- a/atoidejouer/ui/screens.py
+++ b/atoidejouer/ui/screens.py
@@ -350,12 +350,12 @@ class ScreenStory(graphics.Scene):
scale_y=_scale, z_order=_z_order, draggable=draggable)
# connect drag
if self._set_canvas is True\
- or self._type != 'graphics':
+ or self.toolbar.name != 'graphics':
pass
else:
# ..
_image.connect('on-drag-finish', _on_drag_finish, self, sequence_name,
- frame, filename, _offset, (_new_w, _new_h))
+ frame, filename, (_new_w, _new_h))
# connect on click
if sequence_name is None:
pass