[gnome-control-center/wip/networking2: 34/36] networking: Use same wifi device name throughout
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/networking2: 34/36] networking: Use same wifi device name throughout
- Date: Mon, 7 Jan 2013 05:17:04 +0000 (UTC)
commit 97b47f7a8e7c7ac58e41240d14510c1a7e3b5a9a
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 4d200ea..6cca1f9 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]