diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-10-16 16:24:46 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-10-16 16:24:46 +0000 |
commit | a513480e939c30262445a59b758122f4d15bf058 (patch) | |
tree | 53d5a6ff75b4cfaf454b53969aa33b409cc16acb | |
parent | 78c931b786b782359cbe14fa0d4811807fc0d922 (diff) | |
download | drakx-a513480e939c30262445a59b758122f4d15bf058.tar drakx-a513480e939c30262445a59b758122f4d15bf058.tar.gz drakx-a513480e939c30262445a59b758122f4d15bf058.tar.bz2 drakx-a513480e939c30262445a59b758122f4d15bf058.tar.xz drakx-a513480e939c30262445a59b758122f4d15bf058.zip |
display a sorta splash/wait screen when drakx exits because kde takes a long time to startup its splash screen
-rw-r--r-- | move/move.pm | 9 |
1 files changed, 9 insertions, 0 deletions
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'); |