From a513480e939c30262445a59b758122f4d15bf058 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 16 Oct 2003 16:24:46 +0000 Subject: display a sorta splash/wait screen when drakx exits because kde takes a long time to startup its splash screen --- move/move.pm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/move/move.pm b/move/move.pm index de99597ac..6f4f1b968 100644 --- a/move/move.pm +++ b/move/move.pm @@ -53,6 +53,15 @@ sub init { sub install2::startMove { my ($_o) = @_; + + $::WizardWindow->destroy; + require ugtk2; + my $root = ugtk2::gtkroot(); + my $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(); + run_program::run('adduser', 'mdk'); output('/var/run/console.lock', 'mdk'); -- cgit v1.2.1