summaryrefslogtreecommitdiffstats
path: root/bin/drakroam
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-03 10:19:12 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-03 10:19:12 +0000
commit89fdf5cc9eb3ed9fec31423479fcf952514dcce5 (patch)
tree204dc8f885167590c2867058c772eda72bbb8528 /bin/drakroam
parentd3121e58ebd804919b2d81ca9ca82f438147fb1f (diff)
downloaddrakx-net-89fdf5cc9eb3ed9fec31423479fcf952514dcce5.tar
drakx-net-89fdf5cc9eb3ed9fec31423479fcf952514dcce5.tar.gz
drakx-net-89fdf5cc9eb3ed9fec31423479fcf952514dcce5.tar.bz2
drakx-net-89fdf5cc9eb3ed9fec31423479fcf952514dcce5.tar.xz
drakx-net-89fdf5cc9eb3ed9fec31423479fcf952514dcce5.zip
further groupir
Diffstat (limited to 'bin/drakroam')
-rwxr-xr-xbin/drakroam6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/drakroam b/bin/drakroam
index afea8df..fdec710 100755
--- a/bin/drakroam
+++ b/bin/drakroam
@@ -38,6 +38,9 @@ my $w = ugtk2->new($title);
$::main_window = $w->{real_window};
my $in = 'interactive'->vnew('su');
+my $net = {};
+network::network::read_net_conf($net);
+
sub update_connections_list() {
$droam->{gui}{model}->set($droam->{gui}{model}->append, 0, $droam->{gui}{empty_pixbuf} , 1, N("No device found")) unless @{$droam->{all_connections}};
$droam->{gui}{model}->set($droam->{gui}{model}->append,
@@ -92,9 +95,6 @@ sub update_on_connection_change() {
update_networks();
}
-my $net = {};
-network::network::read_net_conf($net);
-
sub get_network_event_message {
my ($member, @args) = @_;
#- FIXME: the hostname.d script and s2u use a different D-Bus interface