summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrederic Back <fredericback@gmail.com>2006-09-24 11:42:03 +0000
committerFrederic Back <fredericback@gmail.com>2006-09-24 11:42:03 +0000
commite509bda210de68beaa518be6be4efdbe1759a03b (patch)
tree0a79ad765774a53d0342434363bae0f763571e55 /src
parent99a8ed23df40db8dd6fe519bc51e3db928982020 (diff)
* do not show black backrgound when app starts up
git-svn-id: file:///home/lennart/svn/public/fring/trunk@20 d0d2c35f-0a1e-0410-abeb-dabff30a67ee
Diffstat (limited to 'src')
-rw-r--r--src/fringlib/fringui.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fringlib/fringui.py b/src/fringlib/fringui.py
index 1fe187d..5e13794 100644
--- a/src/fringlib/fringui.py
+++ b/src/fringlib/fringui.py
@@ -285,6 +285,9 @@ class UI( gtk.Window ):
self.image.set_from_pixmap(self.pixmap,None)
self.ctx = self.pixmap.cairo_create()
self.renderer.prepare_layouts(self.ctx)
+ self.ctx.rectangle(0,0,self.width,self.height)
+ self.ctx.set_source_rgb(*self.backgroundColour)
+ self.ctx.fill()
def __list_changed(self,widget,data):
self.data = data