summaryrefslogtreecommitdiffstats
path: root/move
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-10-16 16:24:46 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-10-16 16:24:46 +0000
commita513480e939c30262445a59b758122f4d15bf058 (patch)
tree53d5a6ff75b4cfaf454b53969aa33b409cc16acb /move
parent78c931b786b782359cbe14fa0d4811807fc0d922 (diff)
downloaddrakx-backup-do-not-use-a513480e939c30262445a59b758122f4d15bf058.tar
drakx-backup-do-not-use-a513480e939c30262445a59b758122f4d15bf058.tar.gz
drakx-backup-do-not-use-a513480e939c30262445a59b758122f4d15bf058.tar.bz2
drakx-backup-do-not-use-a513480e939c30262445a59b758122f4d15bf058.tar.xz
drakx-backup-do-not-use-a513480e939c30262445a59b758122f4d15bf058.zip
display a sorta splash/wait screen when drakx exits because kde takes a long time to startup its splash screen
Diffstat (limited to 'move')
-rw-r--r--move/move.pm9
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');