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.
This commit is contained in:
Matthias Clasen 2012-09-08 14:23:36 -04:00 committed by Richard Hughes
parent ec629b73ad
commit 31dade6279

View file

@ -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,