summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-15 09:57:40 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-15 09:57:40 +0000
commit900b586d313f45fe3a75b92624495c2740866e4c (patch)
tree790e2e89b0dd87841596df128c2f902559d8528d /perl-install/standalone
parenta66fe7f759e1d783e002911091831f1fb3b6f380 (diff)
downloaddrakx-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')
-rwxr-xr-xperl-install/standalone/drakconnect2
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);
}