diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-11-21 12:13:55 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-11-21 12:13:55 +0000 |
commit | dd02902b228bb81ed46dd6c5637fe66a1fc406fa (patch) | |
tree | b6a2c94720fbc5928c95ac33c1f55ff350007a00 | |
parent | 2ae4b87891184cbd828462d45408ead93889cc29 (diff) | |
download | drakx-dd02902b228bb81ed46dd6c5637fe66a1fc406fa.tar drakx-dd02902b228bb81ed46dd6c5637fe66a1fc406fa.tar.gz drakx-dd02902b228bb81ed46dd6c5637fe66a1fc406fa.tar.bz2 drakx-dd02902b228bb81ed46dd6c5637fe66a1fc406fa.tar.xz drakx-dd02902b228bb81ed46dd6c5637fe66a1fc406fa.zip |
keeping $rootwindow didn't work
-rw-r--r-- | move/move.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/move/move.pm b/move/move.pm index f3bc7f747..d33ee1654 100644 --- a/move/move.pm +++ b/move/move.pm @@ -17,7 +17,6 @@ my ($using_existing_user_config, $using_existing_host_config); my $key_sysconf = '/home/.sysconf'; my $virtual_key_part; my $key_mountopts = 'umask=077,uid=501,gid=501,shortname=mixed'; -my $rootwindow; #- holds background image sub symlinkf_short { my ($dest, $file) = @_; @@ -446,7 +445,7 @@ sub install_TrueFS_in_home { sub install2::displayBackground { require ugtk2; - $rootwindow = ugtk2::gtkroot(); + my $rootwindow = ugtk2::gtkroot(); 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); @@ -458,6 +457,7 @@ sub install2::startMove { my $o = $::o; $::WizardWindow->destroy if $::WizardWindow; + install2::displayBackground(); #- get info from existing fstab. This won't do anything if we already wrote fstab in configMove fs::get_info_from_fstab($o->{all_hds}, ''); @@ -489,7 +489,6 @@ sub install2::startMove { if (fork()) { sleep 1; - undef $rootwindow; log::l("DrakX waves bye-bye"); my (undef, undef, $uid, $gid, undef, undef, undef, $home, $shell) = getpwnam($username); |