diff options
author | Damien Chaumette <dchaumette@mandriva.com> | 2004-01-17 17:27:45 +0000 |
---|---|---|
committer | Damien Chaumette <dchaumette@mandriva.com> | 2004-01-17 17:27:45 +0000 |
commit | 8fbc744a2b7cedf6f83fd98aa9d8cfb588b3690e (patch) | |
tree | 30f0b3fe48ac80f7d9e8067f6228ae386ffb8ea6 | |
parent | 2bbdce085b2939c7a240a350a921af9447c21c45 (diff) | |
download | drakx-backup-do-not-use-8fbc744a2b7cedf6f83fd98aa9d8cfb588b3690e.tar drakx-backup-do-not-use-8fbc744a2b7cedf6f83fd98aa9d8cfb588b3690e.tar.gz drakx-backup-do-not-use-8fbc744a2b7cedf6f83fd98aa9d8cfb588b3690e.tar.bz2 drakx-backup-do-not-use-8fbc744a2b7cedf6f83fd98aa9d8cfb588b3690e.tar.xz drakx-backup-do-not-use-8fbc744a2b7cedf6f83fd98aa9d8cfb588b3690e.zip |
add wait message as hardware detection takes time
-rwxr-xr-x | perl-install/standalone/drakconnect | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index b4c4e366c..095258109 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -200,6 +200,14 @@ sub manage { $notebook->set_property('show-border', 0); my $apply_button; + my $wait = $in->wait_message(N("Please wait"), N("Detection in progress")); + gtkflush(); + + network::netconnect::detect(my $detect = {}); + $detect->{adsl} and do { $detect->{adsl}{$_} and $intf->{$_} = {} foreach keys %{$detect->{adsl}} }; + + undef $wait; + $window->{rwindow}->add(gtkpack_(Gtk2::VBox->new, 0, $interface_menu = gtksignal_connect(Gtk2::OptionMenu->new, changed => sub { @@ -227,9 +235,6 @@ sub manage { ); $apply_button = $oc->{buttons}{N("Apply")}; - network::netconnect::detect(my $detect = {}); - $detect->{adsl} and do { $detect->{adsl}{$_} and $intf->{$_} = {} foreach keys %{$detect->{adsl}} }; - each_index { my $interface = $_; $gui->{$interface}{index} = $::i; |