From 342f15e9e9170af02ed332cefd095b51fa0ed759 Mon Sep 17 00:00:00 2001 From: Simon Poirier Date: Mon, 07 Dec 2009 05:56:49 +0000 Subject: run_dialog in activity context to permit full activity introspection and benefit from nonblocking mandatory property selection --- (limited to 'tutorius/actions.py') 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) -- cgit v0.9.1