diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-02-28 21:39:07 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-02-28 21:39:07 +0000 |
commit | 63b58c6257cd7577484c272e524232ac2f655406 (patch) | |
tree | a400fbae36d08c14d43284e42014dc8f007fccc3 /lib | |
parent | 41f43865793ad6ad283f74d92cf7af3a1fb87b20 (diff) | |
download | drakx-net-63b58c6257cd7577484c272e524232ac2f655406.tar drakx-net-63b58c6257cd7577484c272e524232ac2f655406.tar.gz drakx-net-63b58c6257cd7577484c272e524232ac2f655406.tar.bz2 drakx-net-63b58c6257cd7577484c272e524232ac2f655406.tar.xz drakx-net-63b58c6257cd7577484c272e524232ac2f655406.zip |
show the GUI earlier to fix window icon, it gets destroyed after
initial wait message is destroyed, should be investigated more
(was removed in "simplification" from commit 225362)
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/network/drakroam.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/network/drakroam.pm b/lib/network/drakroam.pm index 0ad7a55..7bf8033 100755 --- a/lib/network/drakroam.pm +++ b/lib/network/drakroam.pm @@ -133,6 +133,8 @@ sub main { network::connection_manager::create_networks_list($droam); create_drakroam_gui($droam, $dbus, $title, $icon); + $droam->{gui}{w}->show; + my @connection_types = qw(network::connection::wireless network::connection::cellular_card); @{$droam->{all_connections}} = map { $_->get_connections(automatic_only => 1) } @connection_types; $droam->{connection} = $o_interface && find { $_->get_interface eq $o_interface } @{$droam->{all_connections}}; @@ -142,7 +144,6 @@ sub main { if ($o_ap && $droam->{connection}) { $droam->{connection}{network} = $o_ap; - $droam->{gui}{w}->show; network::connection_manager::start_connection($droam); } |