diff options
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | src/fringlib/fringui.py | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -15,4 +15,4 @@ TODO [ ] make sure that filenames are always visible [ ] do more magic adjustments [ ] clean gui -> renderer interface -[ ] do not show black backrgound when app starts up +[x] do not show black backrgound when app starts up 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 |