[gnome-control-center/wip/networking2: 88/101] networking: Use same wifi device name throughout



commit 4accf8fe556a995ec650356f54b7cfca32da0ea5
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jan 7 00:09:18 2013 -0500

    networking: Use same wifi device name throughout
    
    The device list is using the 'disambiguated' name that
    nm is giving us. Use the same in the wifi page heading,
    instead of hardcoding 'Wi-Fi'.

 panels/network/net-device-wifi.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c
index af65099..e5f9fdf 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -1273,6 +1273,9 @@ net_device_wifi_constructed (GObject *object)
         g_signal_connect (remote_settings, "connections-read",
                           G_CALLBACK (remote_settings_read_cb), device_wifi);
 
+        widget = GTK_WIDGET (gtk_builder_get_object (device_wifi->priv->builder, "heading_list"));
+        g_object_bind_property (device_wifi, "title", widget, "label", 0);
+
         nm_device_wifi_refresh_ui (device_wifi);
 }
 



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