[gnome-control-center/wifi-refinements: 2/20] network: Mark all rows representing saved connections as such



commit 8cac4d7545fd851924b5d96866d0f13af9dcd116
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]