diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-15 09:57:40 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-15 09:57:40 +0000 |
commit | 900b586d313f45fe3a75b92624495c2740866e4c (patch) | |
tree | 790e2e89b0dd87841596df128c2f902559d8528d /perl-install/standalone/drakconnect | |
parent | a66fe7f759e1d783e002911091831f1fb3b6f380 (diff) | |
download | drakx-900b586d313f45fe3a75b92624495c2740866e4c.tar drakx-900b586d313f45fe3a75b92624495c2740866e4c.tar.gz drakx-900b586d313f45fe3a75b92624495c2740866e4c.tar.bz2 drakx-900b586d313f45fe3a75b92624495c2740866e4c.tar.xz drakx-900b586d313f45fe3a75b92624495c2740866e4c.zip |
(configure_net) update connection status in background (#7800)
Diffstat (limited to 'perl-install/standalone/drakconnect')
-rwxr-xr-x | perl-install/standalone/drakconnect | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index 8d7ee4cc0..80b27186a 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -703,6 +703,7 @@ sub adsl_atboot() { (any { /x--boot_time/ } cat_($network::tools::connect_file)) sub update_intbutt() { $int_state->set($isconnected ? N("Connected") : N("Not connected")); + return if !$int_connect; $int_connect->child->set($isconnected ? N("Disconnect...") : N("Connect...")); $int_connect->set_sensitive(1); } @@ -956,6 +957,7 @@ Please run \"Internet access\" in control center.")); ); $dialog->{rwindow}->show_all; + Glib::Timeout->add(200, \&update_intbutt); $dialog->main; ugtk2->exit(0); } |