From 89fdf5cc9eb3ed9fec31423479fcf952514dcce5 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 3 Aug 2007 10:19:12 +0000 Subject: further groupir --- bin/drakroam | 6 +++--- 1 file 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 -- cgit v1.2.1