summaryrefslogtreecommitdiffstats
path: root/splashscreen.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-09-05 16:34:24 +0000
committerJeremy Katz <katzj@redhat.com>2002-09-05 16:34:24 +0000
commit5deccaced77a7ef64e161fab9415157d8919b15f (patch)
tree1fecd9d666adabe8e9390a0fcde99639ec58b70a /splashscreen.py
parenta78c9e098fe9001af3ddff99cc46a3f2112dd881 (diff)
downloadanaconda-5deccaced77a7ef64e161fab9415157d8919b15f.tar.gz
anaconda-5deccaced77a7ef64e161fab9415157d8919b15f.tar.xz
anaconda-5deccaced77a7ef64e161fab9415157d8919b15f.zip
merge anaconda-8-0-branch to HEAD
Diffstat (limited to 'splashscreen.py')
-rw-r--r--splashscreen.py8
1 files changed, 7 insertions, 1 deletions
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