[gnome-control-center] network: Mark all rows representing saved connections as such
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] network: Mark all rows representing saved connections as such
- Date: Thu, 13 Sep 2012 14:48:26 +0000 (UTC)
commit 31dade6279e9b23f77d37beb013921f009be0168
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Sep 8 14:23:36 2012 -0400
network: Mark all rows representing saved connections as such
When we find a saved connection among the access points already
in the list, we forget to mark it as saved, so the arrow to go
to the details page is not shown.
panels/network/net-device-wifi.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c
index fdccc0a..96f7f79 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -583,6 +583,7 @@ add_saved_connection (NetDeviceWifi *device_wifi, NMConnection *connection, NMDe
if (find_ssid_in_store (GTK_TREE_MODEL (store), &iter, ssid_text))
gtk_list_store_set (store, &iter,
COLUMN_ID, id,
+ COLUMN_AP_IS_SAVED, TRUE,
-1);
else
gtk_list_store_insert_with_values (store, &iter,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]