summaryrefslogtreecommitdiffstats
path: root/lib/network/netcenter.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network/netcenter.pm')
-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;
}