[gnome-control-center/wip/gbsneto/new-wifi-panel: 3/7] 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: 3/7] network: Don't manage Wi-Fi devices
- Date: Wed, 12 Jul 2017 12:57:43 +0000 (UTC)
commit 3f44b1add3ccd801a223818d70dfece21d23f6e9
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.
https://bugzilla.gnome.org/show_bug.cgi?id=784818
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]