summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-11-17 15:46:25 +0000
committerOlivier Blin <oblin@mandriva.com>2008-11-17 15:46:25 +0000
commit02380294824f156d55e3521268aaf7a8bd28d1ba (patch)
treedfc55d78f44f709337f67828aaa9570c78ca5762 /bin
parent28f9049aa073ad391ae897e4c717157a776bfae4 (diff)
downloaddrakx-net-02380294824f156d55e3521268aaf7a8bd28d1ba.tar
drakx-net-02380294824f156d55e3521268aaf7a8bd28d1ba.tar.gz
drakx-net-02380294824f156d55e3521268aaf7a8bd28d1ba.tar.bz2
drakx-net-02380294824f156d55e3521268aaf7a8bd28d1ba.tar.xz
drakx-net-02380294824f156d55e3521268aaf7a8bd28d1ba.zip
simplify
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 9b24aae..5da2da5 100755
--- a/bin/net_applet
+++ b/bin/net_applet
@@ -152,7 +152,7 @@ my %actions = (
my ($is_up, $_gw) = network::tools::get_interface_status($_[0]);
$is_up;
},
- format_choice => sub { get_interface_name($_[0]) },
+ format_choice => \&get_interface_name,
get_icon => \&get_interface_icon,
launch => sub {
my ($is_up, $_gw) = network::tools::get_interface_status($_[0]);