summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-29 00:46:15 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-29 00:46:15 +0000
commit216830c93c45c2bdb05dd850a34b7b32f558aa55 (patch)
tree5c0be8c225f574a6e71486c55c13695a502494b9 /lib
parent07b0a38a0f0730184e2cb5f7945b5f99d904893e (diff)
downloaddrakx-net-216830c93c45c2bdb05dd850a34b7b32f558aa55.tar
drakx-net-216830c93c45c2bdb05dd850a34b7b32f558aa55.tar.gz
drakx-net-216830c93c45c2bdb05dd850a34b7b32f558aa55.tar.bz2
drakx-net-216830c93c45c2bdb05dd850a34b7b32f558aa55.tar.xz
drakx-net-216830c93c45c2bdb05dd850a34b7b32f558aa55.zip
show the GUI earlier to fix window icon, it gets destroyed after
initial wait message is destroyed (see commit 237801)
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 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;