network: Remove VLAN support
It is supported by Cockpit already: https://github.com/cockpit-project/cockpit/issues/1007 https://bugzilla.gnome.org/show_bug.cgi?id=747443
This commit is contained in:
parent
9974342865
commit
a4729411b5
3 changed files with 1 additions and 4 deletions
|
@ -726,8 +726,6 @@ panel_add_device (CcNetworkPanel *panel, NMDevice *device)
|
||||||
case NM_DEVICE_TYPE_WIFI:
|
case NM_DEVICE_TYPE_WIFI:
|
||||||
device_g_type = NET_TYPE_DEVICE_WIFI;
|
device_g_type = NET_TYPE_DEVICE_WIFI;
|
||||||
break;
|
break;
|
||||||
case NM_DEVICE_TYPE_VLAN:
|
|
||||||
goto out;
|
|
||||||
default:
|
default:
|
||||||
device_g_type = NET_TYPE_DEVICE_SIMPLE;
|
device_g_type = NET_TYPE_DEVICE_SIMPLE;
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -581,7 +581,6 @@ typedef struct {
|
||||||
|
|
||||||
static const NetConnectionType connection_types[] = {
|
static const NetConnectionType connection_types[] = {
|
||||||
{ N_("VPN"), nm_setting_vpn_get_type },
|
{ N_("VPN"), nm_setting_vpn_get_type },
|
||||||
{ N_("VLAN"), nm_setting_vlan_get_type }
|
|
||||||
};
|
};
|
||||||
static const NetConnectionType *vpn_connection_type = &connection_types[0];
|
static const NetConnectionType *vpn_connection_type = &connection_types[0];
|
||||||
|
|
||||||
|
|
|
@ -15,4 +15,4 @@ X-GNOME-Bugzilla-Product=gnome-control-center
|
||||||
X-GNOME-Bugzilla-Component=network
|
X-GNOME-Bugzilla-Component=network
|
||||||
X-GNOME-Bugzilla-Version=@VERSION@
|
X-GNOME-Bugzilla-Version=@VERSION@
|
||||||
# Translators: those are keywords for the network control-center panel
|
# Translators: those are keywords for the network control-center panel
|
||||||
_Keywords=Network;Wireless;Wi-Fi;Wifi;IP;LAN;Proxy;WAN;Broadband;Modem;Bluetooth;vpn;vlan;DNS;
|
_Keywords=Network;Wireless;Wi-Fi;Wifi;IP;LAN;Proxy;WAN;Broadband;Modem;Bluetooth;vpn;DNS;
|
||||||
|
|
Loading…
Add table
Reference in a new issue