diff options
author | Simon Poirier <simpoir@gmail.com> | 2009-10-28 06:15:15 (GMT) |
---|---|---|
committer | Simon Poirier <simpoir@gmail.com> | 2009-10-28 06:15:15 (GMT) |
commit | 53af01c95abe622c0490b43c12439a04aa449509 (patch) | |
tree | 6e7ca498415f8e20874c1eaf7b2c19458218eeb3 /tutorius/actions.py | |
parent | d5e7b4d380dfa9b979071b862e67d29ec127c542 (diff) |
addon test extension to check interface contraints
Diffstat (limited to 'tutorius/actions.py')
-rw-r--r-- | tutorius/actions.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tutorius/actions.py b/tutorius/actions.py index bb15459..641da31 100644 --- a/tutorius/actions.py +++ b/tutorius/actions.py @@ -135,8 +135,6 @@ class Action(TPropContainer): """Base class for Actions""" def __init__(self): TPropContainer.__init__(self) - self.position = (0,0) - self._drag = None def do(self, **kwargs): """ @@ -165,7 +163,7 @@ class Action(TPropContainer): self.__edit_img.set_visible_window(True) self.__edit_img.add(actionicon) - x, y = self.position + x, y = getattr(self, 'position', (0,0)) ObjectStore().activity._overlayer.put(self.__edit_img, x, y) self.__edit_img.show_all() |