summaryrefslogtreecommitdiffstats
path: root/bin/drakroam
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-03 12:18:07 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-03 12:18:07 +0000
commit26b63d075087b69b7df25f33ab96ec8d1ec11053 (patch)
tree64c6fdf34370aa9b5ee08f94ee6ff7247dbb3b50 /bin/drakroam
parent9725f1f5f8f9d641739b4bff372fc9382189affa (diff)
downloaddrakx-net-26b63d075087b69b7df25f33ab96ec8d1ec11053.tar
drakx-net-26b63d075087b69b7df25f33ab96ec8d1ec11053.tar.gz
drakx-net-26b63d075087b69b7df25f33ab96ec8d1ec11053.tar.bz2
drakx-net-26b63d075087b69b7df25f33ab96ec8d1ec11053.tar.xz
drakx-net-26b63d075087b69b7df25f33ab96ec8d1ec11053.zip
simplify
Diffstat (limited to 'bin/drakroam')
-rwxr-xr-xbin/drakroam4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/drakroam b/bin/drakroam
index a46c00f..fe35d80 100755
--- a/bin/drakroam
+++ b/bin/drakroam
@@ -344,8 +344,6 @@ eval { $dbus = dbus_object::system_bus() };
build_drakroam_gui($droam, $dbus);
-$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} = $args{interface} && find { $_->get_interface eq $args{interface} } @{$droam->{all_connections}};
@@ -355,7 +353,7 @@ update_on_connection_change($droam);
if ($args{ap} && $droam->{connection}) {
$droam->{connection}{network} = $args{ap};
- $droam->{gui}{w}{window}->show_all;
+ $droam->{gui}{w}->show;
connect_to_network($droam);
}