Make it possible for panels to go all the way to the edge of the
shell. This is particularly important for panels that scroll, such
as the new power panel. All other panels are changed to compensate
for the loss of external padding.
https://bugzilla.gnome.org/show_bug.cgi?id=691229
A source file with 4k lines of code is not understandable, and the glade file
was becoming quite a challenge for glade.
To add more features we need to split things up just to keep them maintainable.
This is the first patch that just splits out the proxy bits. Other device types
will follow in the next few days.
Keep the active network at the top, and 'Other' at the bottom.
the other access points are sorted by strength now.
https://bugzilla.gnome.org/show_bug.cgi?id=678505
Signed-off-by: Richard Hughes <richard@hughsie.com>
When switching between devices, the Options buttons were jumping
up and down. This patch makes them stay put in the lower right corner.
The patch also removes a bunch of glade placeholder gunk from the
ui file.
https://bugzilla.gnome.org/show_bug.cgi?id=677054
Signed-off-by: Richard Hughes <richard@hughsie.com>
This is an implementation of network sharing (aka 'Hotspot').
The new 'Use as hotspot' button lets you use a wifi device
as a hotspot for sharing network connections with others.
Currently, the panel generates a ssid based on the hostname,
sets the security to WEP, and generates a random key. These
parameters can be edited afterwards.
It is currently not possible to show how many connections
are using the hotspot. Apart from this, the implementation
is pretty much complete.
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.
We can't actually see the new connections for the other types, and so it's deceptive at best
to allow the user to create anything other than the VPN connection type.
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
Strip out an extra label between the device list and the right side
to win some space, and force the right-hand sides on the proxy tab
to not change size.
https://bugzilla.gnome.org/show_bug.cgi?id=644981