From 216830c93c45c2bdb05dd850a34b7b32f558aa55 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 29 Feb 2008 00:46:15 +0000 Subject: show the GUI earlier to fix window icon, it gets destroyed after initial wait message is destroyed (see commit 237801) --- 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 0a3f844..e1babfe 100755 --- a/lib/network/netcenter.pm +++ b/lib/network/netcenter.pm @@ -36,6 +36,8 @@ 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}; + + $w->show; 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; -- cgit v1.2.1