summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-10-05 13:27:18 +0000
committerOlivier Blin <oblin@mandriva.com>2007-10-05 13:27:18 +0000
commit011c03906550084967362b3bda855bc7d9ce33ae (patch)
treeb1529ecc2ed5cd2199610d36cf03967c2031a524 /bin
parente7f83e4b1a218c74e017dbc4ab9b67e5cf1fcd38 (diff)
downloaddrakx-net-011c03906550084967362b3bda855bc7d9ce33ae.tar
drakx-net-011c03906550084967362b3bda855bc7d9ce33ae.tar.gz
drakx-net-011c03906550084967362b3bda855bc7d9ce33ae.tar.bz2
drakx-net-011c03906550084967362b3bda855bc7d9ce33ae.tar.xz
drakx-net-011c03906550084967362b3bda855bc7d9ce33ae.zip
net_applet/drakroam/draknetcenter: list current network on top of network list
Diffstat (limited to 'bin')
-rwxr-xr-xbin/net_applet2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/net_applet b/bin/net_applet
index 2dcae50..c3b7ddc 100755
--- a/bin/net_applet
+++ b/bin/net_applet
@@ -430,7 +430,7 @@ sub empty_menu {
sub get_wireless_networks_sorted() {
sort {
- $b->{signal_strength} <=> $a->{signal_strength} || $a->{name} cmp $b->{name};
+ $b->{current} <=> $a->{current} || $b->{signal_strength} <=> $a->{signal_strength} || $a->{name} cmp $b->{name};
} values %wireless_networks;
}