diff options
author | mike <michael.jmontcalm@gmail.com> | 2009-05-05 05:44:27 (GMT) |
---|---|---|
committer | mike <michael.jmontcalm@gmail.com> | 2009-05-05 05:44:27 (GMT) |
commit | 6fa568daae3291c7a876cd903f04079a12945dcb (patch) | |
tree | faa112d6dee15fa9d6dc340762e7a45878842bee /src/sugar/tutorius/actions.py | |
parent | d66690142b643401429bfff84d42acac002e1980 (diff) | |
parent | fb49b482f5bd478bada50cd1ab25a876806eff31 (diff) |
Merge branch 'mike'
Conflicts:
source/external/source/sugar-toolkit/src/sugar/tutorius/actions.py
source/external/source/sugar-toolkit/src/sugar/tutorius/tests/actiontests.py
source/external/source/sugar-toolkit/src/sugar/tutorius/tests/run-tests.py
Diffstat (limited to 'src/sugar/tutorius/actions.py')
-rw-r--r-- | src/sugar/tutorius/actions.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sugar/tutorius/actions.py b/src/sugar/tutorius/actions.py index 2d630be..ff7f427 100644 --- a/src/sugar/tutorius/actions.py +++ b/src/sugar/tutorius/actions.py @@ -131,13 +131,13 @@ class BubbleMessage(Action): @param tailpos The position of the tail of the bubble; useful to point to specific elements of the interface """ - def __init__(self, message, pos=[0,0], speaker=None, tailpos=None): + def __init__(self, message, pos=None, speaker=None, tailpos=None): Action.__init__(self) self.message = TStringProperty(message) # Create the position as an array of fixed-size 2 - self.position = TArrayProperty(pos, 2, 2) + self.position = TArrayProperty(pos or [0,0], 2, 2) # Do the same for the tail position - self.tail_pos = TArrayProperty(tailpos, 2, 2) + self.tail_pos = TArrayProperty(tailpos or [0,0], 2, 2) self.overlay = None self._bubble = None |