summaryrefslogtreecommitdiffstats
path: root/move/move.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-11-19 21:16:40 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-11-19 21:16:40 +0000
commit1b639b95ba87d0f4aeb4e275a40962d9f5e6795f (patch)
tree2869275beb0fe07146f9fc930b80d933aefbb729 /move/move.pm
parent5c0b132397f056a5271f25c2e0cb562d81f3a64e (diff)
downloaddrakx-1b639b95ba87d0f4aeb4e275a40962d9f5e6795f.tar
drakx-1b639b95ba87d0f4aeb4e275a40962d9f5e6795f.tar.gz
drakx-1b639b95ba87d0f4aeb4e275a40962d9f5e6795f.tar.bz2
drakx-1b639b95ba87d0f4aeb4e275a40962d9f5e6795f.tar.xz
drakx-1b639b95ba87d0f4aeb4e275a40962d9f5e6795f.zip
use boot images
Diffstat (limited to 'move/move.pm')
-rw-r--r--move/move.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/move/move.pm b/move/move.pm
index 5ea93fb72..63dde3ba4 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -406,7 +406,8 @@ sub install2::startMove {
$::WizardWindow->destroy if $::WizardWindow;
require ugtk2;
my $root = ugtk2::gtkroot();
- my $pixbuf = Gtk2::Gdk::Pixbuf->new_from_file('/usr/share/mdk/screensaver/3.png');
+ my $pixbuf = eval { Gtk2::Gdk::Pixbuf->new_from_file("/image/move/BOOT-$::rootwidth-MOVE.jpg") };
+ $pixbuf ||= Gtk2::Gdk::Pixbuf->new_from_file('/usr/share/mdk/screensaver/3.png');
my ($w, $h) = ($pixbuf->get_width, $pixbuf->get_height);
$root->draw_pixbuf(Gtk2::Gdk::GC->new($root), $pixbuf, 0, 0, ($::rootwidth - $w) / 2, ($::rootheight - $h)/2, $w, $h, 'none', 0, 0);
ugtk2::gtkflush();