summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-02-01 23:07:55 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-02-01 23:07:55 +0000
commit4fa250af812bc8173a5d9cffd347051e44a64494 (patch)
treed59ea8a2ad8e2bb99303c241a85397bc4f4f1b42 /lib
parentb0ad2bd982ff92d12d23702b5ce10d88ebdc692f (diff)
downloaddrakx-net-4fa250af812bc8173a5d9cffd347051e44a64494.tar
drakx-net-4fa250af812bc8173a5d9cffd347051e44a64494.tar.gz
drakx-net-4fa250af812bc8173a5d9cffd347051e44a64494.tar.bz2
drakx-net-4fa250af812bc8173a5d9cffd347051e44a64494.tar.xz
drakx-net-4fa250af812bc8173a5d9cffd347051e44a64494.zip
Fix inverted wireless networks signal level sorting
Diffstat (limited to 'lib')
-rw-r--r--lib/network/connection_manager.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index 37c8606..e6b2a83 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -304,7 +304,7 @@ sub create_networks_list {
my ($sortable, $iter_left, $iter_right) = @_;
my $s1 = $cmanager->{connection}{networks}{$sortable->get($iter_left, 0)}->{signal_strength};
my $s2 = $cmanager->{connection}{networks}{$sortable->get($iter_right, 0)}->{signal_strength};
- return $s2 <=> $s1;
+ return $s1 <=> $s2;
});
$cmanager->{gui}{networks_list}->get_column(3)->set_sort_column_id(3);
$cmanager->{gui}{networks_list}->get_model->set_sort_func (3, sub {