Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tutorius/overlayer.py
diff options
context:
space:
mode:
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 2c6bd41..17734cd 100644
--- a/tutorius/overlayer.py
+++ b/tutorius/overlayer.py
@@ -468,7 +468,7 @@ class TextBubbleWImg(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)):
+ def __init__(self, text, speaker=None, tailpos=(0,0), imagepath=None):
"""
Creates a new cairo rendered text bubble.
@@ -491,7 +491,7 @@ class TextBubbleWImg(gtk.Widget):
self.padding = 20
# image painting
- self.filename = "/home/dave/Pictures/Favicon_01.png"
+ self.filename = imagepath
self.pixbuf = gtk.gdk.pixbuf_new_from_file(self.filename)
self.imgsize = (self.pixbuf.get_width(), self.pixbuf.get_height())