Revert "network: Allow compiling against NM 0.9.6"

This reverts commit ec704ab62f.

This will effectively bump again the NM requirement to 0.9.7.995.
This commit is contained in:
Aleksander Morgado 2013-02-12 17:27:23 +01:00
parent d5bcf412d0
commit f094cc0e6e
7 changed files with 3 additions and 82 deletions

View file

@ -76,47 +76,6 @@ panel_device_to_icon_name (NMDevice *device, gboolean symbolic)
return value;
}
/**
* panel_device_to_localized_string:
**/
const gchar *
panel_device_to_localized_string (NMDevice *device)
{
const gchar *value = NULL;
NMDeviceModemCapabilities caps;
switch (nm_device_get_device_type (device)) {
case NM_DEVICE_TYPE_ETHERNET:
/* TRANSLATORS: device type */
value = _("Wired");
break;
case NM_DEVICE_TYPE_WIFI:
/* TRANSLATORS: device type */
value = _("Wi-Fi");
break;
case NM_DEVICE_TYPE_MODEM:
caps = nm_device_modem_get_current_capabilities (NM_DEVICE_MODEM (device));
if ((caps & NM_DEVICE_MODEM_CAPABILITY_GSM_UMTS) ||
(caps & NM_DEVICE_MODEM_CAPABILITY_CDMA_EVDO)) {
/* TRANSLATORS: device type */
value = _("Mobile broadband");
}
break;
case NM_DEVICE_TYPE_BT:
/* TRANSLATORS: device type */
value = _("Bluetooth");
break;
case NM_DEVICE_TYPE_OLPC_MESH:
/* TRANSLATORS: device type */
value = _("Mesh");
break;
default:
/* TRANSLATORS: device type */
value = _("Unknown");
break;
}
return value;
}
/**
* panel_device_to_sortable_string:
*