diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-11-17 15:46:25 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-11-17 15:46:25 +0000 |
commit | 02380294824f156d55e3521268aaf7a8bd28d1ba (patch) | |
tree | dfc55d78f44f709337f67828aaa9570c78ca5762 /bin/net_applet | |
parent | 28f9049aa073ad391ae897e4c717157a776bfae4 (diff) | |
download | drakx-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/net_applet')
-rwxr-xr-x | bin/net_applet | 2 |
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]); |