diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-01 10:47:00 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-01 10:47:00 +0000 |
commit | fa1858257df2051d96b00c61900668da7d7b3858 (patch) | |
tree | dadb9aad07ed345e20bea39408c34890bb9da3fc /perl-install/ugtk2.pm | |
parent | abb75cd3bb9c417dae813461a2179ac0ff30e1e5 (diff) | |
download | drakx-backup-do-not-use-fa1858257df2051d96b00c61900668da7d7b3858.tar drakx-backup-do-not-use-fa1858257df2051d96b00c61900668da7d7b3858.tar.gz drakx-backup-do-not-use-fa1858257df2051d96b00c61900668da7d7b3858.tar.bz2 drakx-backup-do-not-use-fa1858257df2051d96b00c61900668da7d7b3858.tar.xz drakx-backup-do-not-use-fa1858257df2051d96b00c61900668da7d7b3858.zip |
(set_back_pixbuf) use dithering so that eg banners looks better with 16bpp displays
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r-- | perl-install/ugtk2.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index d0efbd497..2143650a9 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -675,7 +675,7 @@ sub set_back_pixbuf { my $window = $widget->window; my ($width, $height) = ($pixbuf->get_width, $pixbuf->get_height); my $pixmap = Gtk2::Gdk::Pixmap->new($window, $width, $height, $window->get_depth); - $pixbuf->render_to_drawable($pixmap, $widget->style->fg_gc('normal'), 0, 0, 0, 0, $width, $height, 'none', 0, 0); + $pixbuf->render_to_drawable($pixmap, $widget->style->fg_gc('normal'), 0, 0, 0, 0, $width, $height, 'max', 0, 0); $window->set_back_pixmap($pixmap, 0); } |