summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-03-09 20:31:02 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-03-09 20:31:02 +0000
commit6367b9f88ef39b255e3d18a22546a483a6895afb (patch)
treefdb9ea3ecfc0cfd8b683b8b6538ae4c7060ac053
parentc69c11bc6b45cd541f30305dcaa76ab330e37ea3 (diff)
downloaddrakx-backup-do-not-use-6367b9f88ef39b255e3d18a22546a483a6895afb.tar
drakx-backup-do-not-use-6367b9f88ef39b255e3d18a22546a483a6895afb.tar.gz
drakx-backup-do-not-use-6367b9f88ef39b255e3d18a22546a483a6895afb.tar.bz2
drakx-backup-do-not-use-6367b9f88ef39b255e3d18a22546a483a6895afb.tar.xz
drakx-backup-do-not-use-6367b9f88ef39b255e3d18a22546a483a6895afb.zip
fix background of X test during install
-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 5e66b9b93..abcce4008 100644
--- a/perl-install/Xconfig/test.pm
+++ b/perl-install/Xconfig/test.pm
@@ -137,7 +137,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("/usr/share/mdk/xfdrake/xfdrake-test-card.jpg");
+ my $pixbuf = Gtk2::Gdk::Pixbuf->new_from_file("$::prefix/usr/share/mdk/xfdrake/xfdrake-test-card.jpg");
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);