summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-11-17 20:42:02 +0000
committerOlivier Blin <oblin@mandriva.com>2008-11-17 20:42:02 +0000
commit16e4714e73292a51ae1346beafd9c2fd25149a02 (patch)
treee2d5fda84356e06ce7c80f7059a8909b6afa4512
parentd442949631bf48a95d7131b86583d962c665086a (diff)
downloaddrakx-net-16e4714e73292a51ae1346beafd9c2fd25149a02.tar
drakx-net-16e4714e73292a51ae1346beafd9c2fd25149a02.tar.gz
drakx-net-16e4714e73292a51ae1346beafd9c2fd25149a02.tar.bz2
drakx-net-16e4714e73292a51ae1346beafd9c2fd25149a02.tar.xz
drakx-net-16e4714e73292a51ae1346beafd9c2fd25149a02.zip
add description for ethernet and wireless types
-rw-r--r--lib/network/connection/ethernet.pm1
-rw-r--r--lib/network/connection/wireless.pm1
2 files changed, 2 insertions, 0 deletions
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) = @_;