Due to size allocation changes in GTK+, wrapping labels without
a minimal width now become very high. So we need to set a reasonable
width-chars value to ensure the label shows up.
Comparing by object id does not work here, since there is no
guarantee that the object id will still be present in the array
after we did filter the list by strongest-per-ssid. Instead,
compare the ssid.
https://bugzilla.gnome.org/show_bug.cgi?id=649934
A suprising number of people need this to be able to get onto their wireless
network. This is also a Fedora blocker if that matters.
This patch also adds a string. I don't feel there is a way around it, although
we could steal the translations from another project. I think using a real word
is better than displaying a blank entry or a picture or something. I dunno.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=645002
If NetworkManager knows that firmware is missing, say so.
This matches recent changes in the gnome-shell network menu.
It adds one new string, "Firmware missing", for which I have
pulled existing translations from the similar "firmware missing"
string in gnome-shell.
https://bugzilla.gnome.org/show_bug.cgi?id=646027
There's no mockup for bluetooth devices, and it's not clear what any of the
buttons or sliders should do.
I'll actually wire up bluetooth devices for 3.2, but this at least fixes the
assert ready for 3.0.
We were not listening for state changes on the ActiveConnection
objects representing actual connections, but only listened for
active connections appearing or disappearing. This caused
the VPN tab to get stuck on 'Authentication required' or similar
'intermediate' states until you manually switch tabs and back.
Also keep the switch from jumping back to off while the
vpn auth dialog is up, by adjusting the states we consider 'off'.
It is not something the user did wrong so we shouldn't use a mean
looking error icon. We use computer-fail when something is wrong
with the setup of the computer that the user can't fix.
If you choose Automatic and then don't fill in any configuration URL, it
defaults to WPAD.
But really, WPAD is a bad default anyway; if you enable it on an untrusted
network, then anyone else on that network can tell your machine that it should
proxy all of your web traffic through them.
The best bet might be to just add some explanatory text to the (otherwise
nearly-empty) Automatic page.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=641793
When a device is unavailable / off, we show only the hardware address.
Otherwise, we show speed / security / ssid.
Other connection parameters are only shown when the connection is active.
Remove the ID parameter from the model, and move it to the NetDevice object.
Remove the devices GPtrArray and use the mode for everything.
Connect up the changed and deleted signals from NetObject and DTRT in the UI.
In the short term, cheat by bringing up nm-connection-editor.
In the future, we will do something better here.
The newly created connections do net get picked up in the list
of devices/connections yet.
In the short term, we cheat here by bringing up nm-connection-editor
for an individual connection. This will be replaced by something
better in the future.
The connection that gets passed to NetVPN is not a state-carrying
NMActiveConnection, but just a configuration-carrying NmRemoteConnection.
So asking it for the VPN connection state is never giving us anything
interesting. Instead, we need to fish out the active connection
corresponding to the VPN config (if any), and get the state from there.
Still todo: state change notification.