[gnome-control-center] network: Rename a function
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] network: Rename a function
- Date: Thu, 13 Sep 2012 14:48:41 +0000 (UTC)
commit 69a823f9a9a2ea986de293b48c779391ac4ad0bd
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Sep 8 15:41:18 2012 -0400
network: Rename a function
'Connect to hidden' is not really an access point.
Update the function name to reflect that. Also, update
the translator comment to be more to the point.
panels/network/net-device-wifi.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c
index 15d665b..ffe61b9 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -181,7 +181,7 @@ add_access_point (NetDeviceWifi *device_wifi, NMAccessPoint *ap, NMAccessPoint *
}
static void
-add_access_point_other (NetDeviceWifi *device_wifi)
+add_connect_to_hidden (NetDeviceWifi *device_wifi)
{
NetDeviceWifiPrivate *priv = device_wifi->priv;
GtkListStore *liststore_network;
@@ -191,9 +191,9 @@ add_access_point_other (NetDeviceWifi *device_wifi)
liststore_network = GTK_LIST_STORE (gtk_builder_get_object (priv->builder,
"liststore_network"));
- /* TRANSLATORS: this is when the access point is not listed in
- * the dropdown (or hidden) and the user has to select another
- * entry manually */
+ /* TRANSLATORS: this is when the access point is not shown
+ * in the list and the user has to enter the SSID manually
+ */
title = g_strdup_printf ("<b>%s</b>", _("Connect to a Hidden Network"));
gtk_list_store_append (liststore_network, &treeiter);
gtk_list_store_set (liststore_network,
@@ -525,7 +525,7 @@ device_wifi_refresh_aps (NetDeviceWifi *device_wifi)
ap = NM_ACCESS_POINT (g_ptr_array_index (aps_unique, i));
add_access_point (device_wifi, ap, active_ap, nm_device);
}
- add_access_point_other (device_wifi);
+ add_connect_to_hidden (device_wifi);
device_wifi->priv->updating_device = FALSE;
g_ptr_array_unref (aps_unique);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]