diff options
Diffstat (limited to 'tutorius/actions.py')
-rw-r--r-- | tutorius/actions.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tutorius/actions.py b/tutorius/actions.py index 6d1f58e..40d9b03 100644 --- a/tutorius/actions.py +++ b/tutorius/actions.py @@ -225,7 +225,11 @@ class Action(TPropContainer): self.__edit_img = gtk.EventBox() self.__edit_img.set_visible_window(True) self.__edit_img.add(actionicon) - + + # FIXME remove position when it's not required. + # Changes will also be required in the overview and DragWrapper. + if not hasattr(self, 'position'): + self.position = 0, 0 x, y = self.position ObjectStore().activity._overlayer.put(self.__edit_img, x, y) |