From ff71d519501cde5c6ffdb59ed756f83424140c1d Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 13 Aug 2007 18:06:57 +0000 Subject: use connection type with lower metric first --- lib/network/netcenter.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm index 98fda14..615c0ea 100755 --- a/lib/network/netcenter.pm +++ b/lib/network/netcenter.pm @@ -55,7 +55,7 @@ sub main { $::main_window = $w->{real_window}; my @connections = map { $_->get_connections(automatic_only => 1) } network::connection::get_types; - @connections = reverse(uniq_ { $_->{device} } reverse(@connections)); + @connections = uniq_ { $_->{device} } @connections; my $pixbufs = network::connection_manager::create_pixbufs(); -- cgit v1.2.1