[gnome-control-center/wip/gbsneto/new-wifi-panel: 2/6] network: Don't manage Wi-Fi devices
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/gbsneto/new-wifi-panel: 2/6] network: Don't manage Wi-Fi devices
- Date: Tue, 11 Jul 2017 20:17:51 +0000 (UTC)
commit c53351c2dceb47b99e923b5737e900a93770cdf7
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Jul 11 13:11:52 2017 -0300
network: Don't manage Wi-Fi devices
The Wi-Fi devices are going to managed with the
to-be-introduced Wi-Fi panel, and don't need to
be available in the Networks panel anymore.
This patch then blacklists Wi-Fi devices and don't
let the Networks panel manage them.
panels/network/cc-network-panel.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c
index 08ef3e1..b144f3e 100644
--- a/panels/network/cc-network-panel.c
+++ b/panels/network/cc-network-panel.c
@@ -775,9 +775,8 @@ panel_add_device (CcNetworkPanel *panel, NMDevice *device)
case NM_DEVICE_TYPE_MODEM:
device_g_type = NET_TYPE_DEVICE_MOBILE;
break;
+ /* Let the wi-fi panel take care of wifi devices */
case NM_DEVICE_TYPE_WIFI:
- device_g_type = NET_TYPE_DEVICE_WIFI;
- break;
/* not going to set up a cluster in GNOME */
case NM_DEVICE_TYPE_VETH:
/* enterprise features */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]