summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-26 17:40:39 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-26 17:40:39 +0000
commitce4d99ec85301d481fcbac710192d03978011e8a (patch)
treed854943fc876381e6a2e8985f5e7326d5fc3208d /lib
parentd16885607f9c2c95f266901c95b460e93e3130d5 (diff)
downloaddrakx-net-ce4d99ec85301d481fcbac710192d03978011e8a.tar
drakx-net-ce4d99ec85301d481fcbac710192d03978011e8a.tar.gz
drakx-net-ce4d99ec85301d481fcbac710192d03978011e8a.tar.bz2
drakx-net-ce4d99ec85301d481fcbac710192d03978011e8a.tar.xz
drakx-net-ce4d99ec85301d481fcbac710192d03978011e8a.zip
add wait message when starting netcenter
Diffstat (limited to 'lib')
-rwxr-xr-xlib/network/netcenter.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm
index d52e087..3e533f4 100755
--- a/lib/network/netcenter.pm
+++ b/lib/network/netcenter.pm
@@ -36,6 +36,7 @@ sub main {
my $w = ugtk2->new($title);
#- so that transient_for is defined, for wait messages and popups to be centered
$::main_window = $w->{real_window};
+ my $wait = $in->wait_message(N("Please wait"), N("Please wait"));
my @connections = map { $_->get_connections(automatic_only => 1, fast_only => 1) } network::connection::get_types;
@connections = uniq_ { $_->{device} } @connections;
@@ -138,6 +139,7 @@ sub main {
dbus_object::set_gtk2_watch_helper($dbus);
}
+ undef $wait;
$w->main;
}