Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tutorius/actions.py
diff options
context:
space:
mode:
Diffstat (limited to 'tutorius/actions.py')
-rw-r--r--tutorius/actions.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tutorius/actions.py b/tutorius/actions.py
index cf586f2..6d1f58e 100644
--- a/tutorius/actions.py
+++ b/tutorius/actions.py
@@ -165,9 +165,9 @@ class DragWrapper(object):
class Action(TPropContainer):
"""Base class for Actions"""
- def __init__(self):
- TPropContainer.__init__(self)
- self.position = (0,0)
+ source = TStringProperty(None, null=True)
+ def __init__(self, **kwargs):
+ super(Action, self).__init__(**kwargs)
self._drag = None
# The callback that will be triggered when the action is requested
# to notify all its changes