From 02380294824f156d55e3521268aaf7a8bd28d1ba Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 17 Nov 2008 15:46:25 +0000 Subject: simplify --- bin/net_applet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); -- cgit v1.2.1