From 5deccaced77a7ef64e161fab9415157d8919b15f Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Thu, 5 Sep 2002 16:34:24 +0000 Subject: merge anaconda-8-0-branch to HEAD --- splashscreen.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'splashscreen.py') diff --git a/splashscreen.py b/splashscreen.py index ab2276ab7..7176b9398 100644 --- a/splashscreen.py +++ b/splashscreen.py @@ -54,7 +54,13 @@ def splashScreenShow(configFileData): except RuntimeError: pixbuf = None if pixbuf: - p.set_from_pixbuf(pixbuf) + (pixmap, mask) = pixbuf.render_pixmap_and_mask() + pixbuf.render_to_drawable(pixmap, gtk.gdk.gc_new(pixmap), + 0, 0, 0, 0, + pixbuf.get_width(), pixbuf.get_height(), + gtk.gdk.RGB_DITHER_MAX, 0, 0) + + p.set_from_pixmap(pixmap, mask) return p global splashwindow -- cgit