summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-11-26 16:44:03 +0000
committerOlivier Blin <oblin@mandriva.com>2008-11-26 16:44:03 +0000
commitac28ca16f7530d60e67c7b7e7dd56cd2f2d2e514 (patch)
treeb7efea90912e6c1502dfbafbff89b1b8fb4ef887
parentf2e633e16c83f114868343b9f91453e31c9dbc8b (diff)
downloaddrakx-net-ac28ca16f7530d60e67c7b7e7dd56cd2f2d2e514.tar
drakx-net-ac28ca16f7530d60e67c7b7e7dd56cd2f2d2e514.tar.gz
drakx-net-ac28ca16f7530d60e67c7b7e7dd56cd2f2d2e514.tar.bz2
drakx-net-ac28ca16f7530d60e67c7b7e7dd56cd2f2d2e514.tar.xz
drakx-net-ac28ca16f7530d60e67c7b7e7dd56cd2f2d2e514.zip
use longer description for user-friendly interface names
-rwxr-xr-xbin/net_applet2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/net_applet b/bin/net_applet
index ee1aaad..b2c3f7d 100755
--- a/bin/net_applet
+++ b/bin/net_applet
@@ -119,7 +119,7 @@ sub get_interface_icon {
sub get_interface_name {
my ($interface) = @_;
my $type = get_interface_type($interface);
- my $type_name = $type && $type->get_type_name;
+ my $type_name = $type && $type->get_type_description;
$type_name ? "$type_name ($interface)" : $interface;
}