Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tutorius/overlayer.py
diff options
context:
space:
mode:
authorisen <isen@isen-desktop.(none)>2009-10-18 08:38:05 (GMT)
committer isen <isen@isen-desktop.(none)>2009-10-18 08:38:05 (GMT)
commit04bef3e0d6f0db689b31c05799f9a6c55e3220d9 (patch)
treed90d83a46a0ad38328ec16bfc2befab41839ab64 /tutorius/overlayer.py
parent1d062b1e7397b9413f4f73efb451bb8d890ab296 (diff)
Commit before holidays lp426452
Diffstat (limited to 'tutorius/overlayer.py')
-rw-r--r--tutorius/overlayer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tutorius/overlayer.py b/tutorius/overlayer.py
index 4ee5241..8e5be71 100644
--- a/tutorius/overlayer.py
+++ b/tutorius/overlayer.py
@@ -157,7 +157,7 @@ class TextBubble(gtk.Widget):
A CanvasDrawableWidget drawing a round textbox and a tail pointing
to a specified widget.
"""
- def __init__(self, text, speaker=None, tailpos=[[0,0],[0,0],[0,0]]):#list with N éléments (cf bublemessage.py)
+ def __init__(self, text, speaker=None, tailpos=None):
"""
Creates a new cairo rendered text bubble.
@@ -175,7 +175,7 @@ class TextBubble(gtk.Widget):
self.label = text
self.speaker = speaker
- self.tailpos = tailpos
+ self.tailpos = tailpos or []
self.line_width = 5
self.padding = 20