diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-08 09:03:52 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-08 09:03:52 +0000 |
commit | 5e3622b7ee5cd13987f3d0754d22eb19c13385fb (patch) | |
tree | 47a20cf1f27c6a807e02b70aaf3ec5410103bccb /perl-install/standalone | |
parent | da5d831cb620d5083b459b3449444395ce47d112 (diff) | |
download | drakx-5e3622b7ee5cd13987f3d0754d22eb19c13385fb.tar drakx-5e3622b7ee5cd13987f3d0754d22eb19c13385fb.tar.gz drakx-5e3622b7ee5cd13987f3d0754d22eb19c13385fb.tar.bz2 drakx-5e3622b7ee5cd13987f3d0754d22eb19c13385fb.tar.xz drakx-5e3622b7ee5cd13987f3d0754d22eb19c13385fb.zip |
(show_prev) fix crash on image scaling
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/draksplash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/draksplash b/perl-install/standalone/draksplash index 1f427fa35..aba64745b 100755 --- a/perl-install/standalone/draksplash +++ b/perl-install/standalone/draksplash @@ -496,7 +496,7 @@ sub show_prev { #-PO First %s is theme name, second %s (in parenthesis) is resolution $prev_window->set_title(N("%s BootSplash (%s) preview", $theme{name}, $theme{res}{res})); $prev_pic = gtkcreate_pixbuf($img_file); - $prev_pic->scale_simple($theme{res}{w}, $theme{res}{h},0); + $prev_pic->scale_simple($theme{res}{w}, $theme{res}{h}, 'hyper'); $prev_pix = $prev_pic->render_pixmap_and_mask($prev_pic); $prev_canvas && $prev_canvas->isa('Gtk2::Widget') or $prev_canvas = new Gtk2::DrawingArea() and $prev_window->add($prev_canvas); |