[gnome-control-center] network: Use same wifi device name throughout



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

    network: 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 a1d0169..e0b8aa5 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -1463,6 +1463,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]