From 53af01c95abe622c0490b43c12439a04aa449509 Mon Sep 17 00:00:00 2001 From: Simon Poirier Date: Wed, 28 Oct 2009 06:15:15 +0000 Subject: addon test extension to check interface contraints --- (limited to 'tutorius/actions.py') 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() -- cgit v0.9.1