[gnome-control-center] network: Don't add proxies to the device list - nothing every reads them back



commit 4e5b7faf23a90624660609e72817440a339aa450
Author: Robert Ancell <robert ancell canonical com>
Date:   Thu Oct 24 11:28:47 2019 +1300

    network: Don't add proxies to the device list - nothing every reads them back

 panels/network/cc-network-panel.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c
index 5aee49870..eead21b91 100644
--- a/panels/network/cc-network-panel.c
+++ b/panels/network/cc-network-panel.c
@@ -530,10 +530,6 @@ panel_add_proxy_device (CcNetworkPanel *self)
 
         /* add proxy to device list */
         net_object_set_title (NET_OBJECT (proxy), _("Network proxy"));
-
-        /* NOTE: No connect to notify::title here as it is guaranteed to not
-         *       be changed by anyone.*/
-        g_ptr_array_add (self->devices, proxy);
 }
 
 static void


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