From 16e4714e73292a51ae1346beafd9c2fd25149a02 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 17 Nov 2008 20:42:02 +0000 Subject: add description for ethernet and wireless types --- lib/network/connection/ethernet.pm | 1 + lib/network/connection/wireless.pm | 1 + 2 files changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/network/connection/ethernet.pm b/lib/network/connection/ethernet.pm index e0fef99..4c5aded 100644 --- a/lib/network/connection/ethernet.pm +++ b/lib/network/connection/ethernet.pm @@ -9,6 +9,7 @@ use network::tools; our @dhcp_clients = qw(dhclient dhcpcd pump dhcpxd); sub get_type_name() { N("Ethernet") } +sub get_type_description() { N("Wired (Ethernet)") } sub _get_type_icon() { 'ethernet' } sub get_devices() { diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm index c1c37d6..920bb30 100644 --- a/lib/network/connection/wireless.pm +++ b/lib/network/connection/wireless.pm @@ -10,6 +10,7 @@ use log; #- network: ID of the selected network sub get_type_name() { N("Wireless") } +sub get_type_description() { N("Wireless (Wi-Fi)") } sub _get_type_icon() { 'wireless' } sub get_devices { my ($_class, %options) = @_; -- cgit v1.2.1