From ce4d99ec85301d481fcbac710192d03978011e8a Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 26 Feb 2008 17:40:39 +0000 Subject: add wait message when starting netcenter --- lib/network/netcenter.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/network/netcenter.pm') 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; } -- cgit v1.2.1