Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tutorius/actions.py
diff options
context:
space:
mode:
authorSimon Poirier <simpoir@gmail.com>2009-12-07 05:56:49 (GMT)
committer Simon Poirier <simpoir@gmail.com>2009-12-07 05:56:49 (GMT)
commit342f15e9e9170af02ed332cefd095b51fa0ed759 (patch)
treecdfeeabe1d7a62e7f3c056a7ac63a973660c4f02 /tutorius/actions.py
parent8fe99e6e9157d29dce14500705fb914f9c74184d (diff)
run_dialog in activity context to permit full activity introspection and benefit from nonblocking mandatory property selection
Diffstat (limited to 'tutorius/actions.py')
-rw-r--r--tutorius/actions.py6
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)