summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/test.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-09-10 15:06:27 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-09-10 15:06:27 +0000
commit932c9946de35502c325b757bed36fd112d7ffabd (patch)
tree5bab12cadadd63d010e6ed40dbf6a7101c8ca01b /perl-install/Xconfig/test.pm
parent25669413fecf35b50396b3a39a444d53ce37ce14 (diff)
downloaddrakx-backup-do-not-use-932c9946de35502c325b757bed36fd112d7ffabd.tar
drakx-backup-do-not-use-932c9946de35502c325b757bed36fd112d7ffabd.tar.gz
drakx-backup-do-not-use-932c9946de35502c325b757bed36fd112d7ffabd.tar.bz2
drakx-backup-do-not-use-932c9946de35502c325b757bed36fd112d7ffabd.tar.xz
drakx-backup-do-not-use-932c9946de35502c325b757bed36fd112d7ffabd.zip
we don't have .jpg loader in install, file needs to be in .png
(mandrake_desk 9.2-8mdk)
Diffstat (limited to 'perl-install/Xconfig/test.pm')
-rw-r--r--perl-install/Xconfig/test.pm2
1 files changed, 1 insertions, 1 deletions
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);