summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-01 10:47:00 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-01 10:47:00 +0000
commitfa1858257df2051d96b00c61900668da7d7b3858 (patch)
treedadb9aad07ed345e20bea39408c34890bb9da3fc /perl-install
parentabb75cd3bb9c417dae813461a2179ac0ff30e1e5 (diff)
downloaddrakx-fa1858257df2051d96b00c61900668da7d7b3858.tar
drakx-fa1858257df2051d96b00c61900668da7d7b3858.tar.gz
drakx-fa1858257df2051d96b00c61900668da7d7b3858.tar.bz2
drakx-fa1858257df2051d96b00c61900668da7d7b3858.tar.xz
drakx-fa1858257df2051d96b00c61900668da7d7b3858.zip
(set_back_pixbuf) use dithering so that eg banners looks better with 16bpp displays
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/ugtk2.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 6a7115b02..fa551b1c2 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,4 +1,6 @@
- fix dithering regression (introduced on 2008-09-29)
+- render banner background with dithering
+ (smoother on 16bpp displays)
Version 11.61 - 30 September 2008
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);
}