From 932c9946de35502c325b757bed36fd112d7ffabd Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Wed, 10 Sep 2003 15:06:27 +0000 Subject: we don't have .jpg loader in install, file needs to be in .png (mandrake_desk 9.2-8mdk) --- perl-install/Xconfig/test.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/Xconfig/test.pm b/perl-install/Xconfig/test.pm index aaa53980b..278a04cde 100644 --- a/perl-install/Xconfig/test.pm +++ b/perl-install/Xconfig/test.pm @@ -136,7 +136,7 @@ sub test { eval { #- eval it so that missing pixmap will not break the test completely my $root = gtkroot(); my $gc = Gtk2::Gdk::GC->new($root); - my $pixbuf = Gtk2::Gdk::Pixbuf->new_from_file("$::prefix/usr/share/mdk/xfdrake/xfdrake-test-card.jpg"); + my $pixbuf = Gtk2::Gdk::Pixbuf->new_from_file("$::prefix/usr/share/mdk/xfdrake/xfdrake-test-card.png"); my ($w, $h) = ($pixbuf->get_width, $pixbuf->get_height); my $pixmap = Gtk2::Gdk::Pixmap->new($root, $w, $h, $root->get_depth); $pixbuf->render_to_drawable($pixmap, $gc, 0, 0, 0, 0, $w, $h, 'none', 0, 0); -- cgit v1.2.1