[network-manager-applet] libnm-gtk: add Bridge support to nm-ui-utils



commit 81dbe4924e6ec9c9d8637bc1f25380e83ba66be0
Author: Dan Winship <danw gnome org>
Date:   Tue Dec 4 08:45:36 2012 -0500

    libnm-gtk: add Bridge support to nm-ui-utils

 src/libnm-gtk/nm-ui-utils.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/libnm-gtk/nm-ui-utils.c b/src/libnm-gtk/nm-ui-utils.c
index 1fd5842..0e68257 100644
--- a/src/libnm-gtk/nm-ui-utils.c
+++ b/src/libnm-gtk/nm-ui-utils.c
@@ -335,6 +335,8 @@ nma_utils_get_device_type_name (NMDevice *device)
 		return _("InfiniBand");
 	case NM_DEVICE_TYPE_BOND:
 		return _("Bond");
+	case NM_DEVICE_TYPE_BRIDGE:
+		return _("Bridge");
 	case NM_DEVICE_TYPE_VLAN:
 		return _("VLAN");
 	case NM_DEVICE_TYPE_ADSL:
@@ -351,6 +353,7 @@ get_device_type_name_with_iface (NMDevice *device)
 
 	switch (nm_device_get_device_type (device)) {
 	case NM_DEVICE_TYPE_BOND:
+	case NM_DEVICE_TYPE_BRIDGE:
 	case NM_DEVICE_TYPE_VLAN:
 		return g_strdup_printf ("%s (%s)", type_name, nm_device_get_iface (device));
 	default:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]