GNOME Bugzilla – Bug 677899
Can not edit options when no connection for the selected device available
Last modified: 2012-06-18 10:41:07 UTC
i have a ethernet device but no NM ethernet connection in /etc/NetworkManager/system-connections . When i select the device and press "options", i get: (gnome-control-center:9919): network-cc-panel-WARNING **: failed to find connection for device
Created attachment 216161 [details] [review] find Connection with specific MAC address set
Review of attachment 216161 [details] [review]: In concept, I like it, thanks. General points: * a lot of the lines are waaay too long, aim for 80 wide please if (g_slist_length (filtered) == 1) + { Brace on the same line as the "if" please + case NM_DEVICE_TYPE_WIFI: + { + gchar* mac = get_mac_address_of_connection (connection); If they are all declaring mac* then please move this up in the scope, then you can drop the extra { and }. + default: + { + break; + } No need for the extra braces here.
Created attachment 216606 [details] [review] updated patch
Created attachment 216607 [details] [review] updated patch (add copyright statement)
fixed in git master (806b3e0e13ec63edeb5f635e67dc5a2cd798bd62)