Commit graph

91 commits

Author SHA1 Message Date
Matthias Clasen
3d27d8caaf shell: Fittsify panels
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
2013-01-07 10:51:29 +01:00
Jeremy Bicha
f325a5aae3 network: Use the proper Unicode ellipsis (…) instead of three dots 2012-12-03 09:18:15 -05:00
Matthias Clasen
bcbc6d1aaf network: Remove unused object from ui file
The liststore for wifi connections is now defined in
network-wifi.ui, the object in network.ui is a leftover.
2012-09-13 15:50:44 +01:00
Matthias Clasen
299530a7a6 Set a window title on the add network dialog
Otherwise, it shows up as gnome-control-center, which is ugly.
2012-09-06 19:12:19 -04:00
Matthias Clasen
051766d482 network: Remove nonexisting widget from size group
This was causing warnings.
2012-07-29 12:20:06 +02:00
Richard Hughes
b06bb9e5f3 network: Split the wifi device from the .c and .ui file 2012-07-23 10:14:05 +01:00
Richard Hughes
26b5169bee network: Split the mobile broadband device from the .c and .ui file 2012-07-20 09:31:12 +01:00
Richard Hughes
a808633484 network: Split the wired device from the .c and .ui file 2012-07-20 09:31:11 +01:00
Richard Hughes
7e5654bf48 network: Fix a trivial GTK warning at startup about a missing widget 2012-07-17 14:17:11 +01:00
Richard Hughes
8384a0b741 network: Split the VPN parts from the .c and .ui file 2012-07-12 16:58:11 +01:00
Richard Hughes
c26e14518e network: Split the proxy parts from the .c and .ui file
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.
2012-07-12 14:09:24 +01:00
Matthias Clasen
31cd509a75 network: Sort access points by strength
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>
2012-06-28 13:54:13 +01:00
Richard Hughes
6689012eb8 network: Show multiple connections in the mobile broadband panel
Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=647170
2012-06-28 13:43:58 +01:00
Matthias Clasen
f6838df0c5 network: Make buttons stay put
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>
2012-06-14 09:42:06 +01:00
Matthias Clasen
22fd0dedda network: Add mnemonics
The Create dialog was missing mnemonics for several controls.

https://bugzilla.gnome.org/show_bug.cgi?id=671879

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-14 09:36:02 +01:00
Matthias Clasen
fd8ca81f8b network: Add a mnemonic for 'Forget Network'
https://bugzilla.gnome.org/show_bug.cgi?id=671879

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-14 09:35:56 +01:00
Cosimo Cecchi
cde88dca90 network: fix packing order of children in the service dialog
The heading should be packed at the top, before the combobox.

https://bugzilla.gnome.org/show_bug.cgi?id=674498
2012-06-11 09:48:58 -04:00
Richard Hughes
04fdb2b456 network: Don't resize the panel when switching network types
Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=671482
2012-05-30 14:47:02 +01:00
Cosimo Cecchi
b97782616e network: fix huge inline toolbar icons
Apparently GtkBuilder doesn't like too much <style> sections interleaved
among <property> tags.
2012-02-29 18:31:01 -05:00
Richard Hughes
c162258d23 network: Make the bottom button alignments match the mockups 2012-02-08 14:45:47 +00:00
Richard Hughes
cd48bba555 network: Remove the unused unlock button
It's wrecking the bottom padding alignment and is in the header in the mockups...
2012-02-08 14:45:47 +00:00
Richard Hughes
552d994300 network: rework the UI file to be more acceptable to glade 2012-02-08 14:45:47 +00:00
Richard Hughes
7a1472e8b5 network: use some new property names in the UI file
I want to reduce the diffstat noise with new versions of glade.
2012-02-08 14:45:46 +00:00
Richard Hughes
a34184910a network: Add the 'Forget Network' button in the wireless page 2012-02-08 14:45:46 +00:00
Richard Hughes
1b74ddb8c5 network: Move the 'Airplane Mode' switch up into the shell header
This closer matches the mockups done by Lapo.
2012-01-09 15:24:57 +00:00
Richard Hughes
7923b995b7 network: Move the device speed up to the device header
This makes the panel closer match the new mockup provided by the design team.
2012-01-09 10:20:45 +00:00
Matthias Clasen
57a1099b24 network: Make tabbing through the proxy page work 2011-11-03 14:06:08 -04:00
Matthias Clasen
4181028c72 Network: accessibility improvements
Add missing relations and labels to make orca speak a bit more
understandably.
2011-11-03 11:00:57 -04:00
Bastien Nocera
65f850e0c5 network: Add label to toolbar buttons 2011-10-25 17:37:47 +01:00
Bastien Nocera
99de2e3548 network: Rename "Options..." to "Configure..."
As "Options..." isn't an action, and is thus not a good button
label.

https://bugzilla.gnome.org/show_bug.cgi?id=657002
2011-08-26 18:44:37 +01:00
Jiří Klimeš
382509986a network: Show VPN type and info in panel
For all the VPN types

https://bugzilla.gnome.org/show_bug.cgi?id=657303
2011-08-26 13:32:22 +01:00
Jiří Klimeš
31f975996e network: Mobile broadband bug fixes
Fix On/off switch, options buttons and info display

https://bugzilla.gnome.org/show_bug.cgi?id=657303
2011-08-26 13:21:17 +01:00
Bastien Nocera
8e557aeaa3 network: Fix toolbar style
We always want an icon toolbar style for those.

https://bugzilla.gnome.org/show_bug.cgi?id=651595
2011-06-21 15:42:44 +01:00
Matthias Clasen
a7c3024998 Network: Improve wording of warnings
Also, add a warning when stopping hotspots, too, and consequently
add the dots back to the stop button as well.
2011-05-26 18:47:27 -04:00
Matthias Clasen
24c320a2c3 Network: put the dots back in the hotspot button
After all we are showing a dialog now, sometimes...
2011-05-26 17:42:14 -04:00
Matthias Clasen
1b60a6fd6b Network: Remove ellipses from hotspot buttons
There's no dialogs anymore...
2011-05-26 11:59:16 -04:00
Matthias Clasen
64e94a0adb Implement network sharing
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.
2011-05-26 06:47:27 -04:00
Matthias Clasen
f9a186a272 Network: fix the wpad warning
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.
2011-05-24 20:03:50 -04:00
Matthias Clasen
685b5ebb9b Fix a11y/keynav issue in the network panel
The mnemonic for the 'Network name' combo was not working.
2011-05-15 20:20:19 -04:00
Richard Hughes
3a0bb1c7f2 network: use the correct widget name for the IP address of the mobile broadband device. Fixes #646837 2011-04-06 10:07:15 +01:00
Matthias Clasen
3256adcb7e Network: Make creating vpn connections work again
Somehow the 'Create' button lost its action id.
Don't trust glade on these files...
2011-04-02 18:12:00 -04:00
William Jon McCann
8613d54e9a Network: Use grids for alignment instead of a huge set of size groups
https://bugzilla.gnome.org/show_bug.cgi?id=645772
2011-03-27 20:01:03 -04:00
Matthias Clasen
759dbfd328 Network: show a padlock for 'secure' access points
This patch adds a trivial GtkCellRendererPixbuf subclass and
uses it to show a padlock icon for access points which have some
kind of security.
2011-03-25 18:20:40 -04:00
Richard Hughes
a9523ffc5b network: remove all the entries apart from VPN from the [+] dialog box
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.
2011-03-25 15:46:28 +00:00
Richard Hughes
88e192c032 network: add a warning to the user when the PAC textbox is empty and we're going to use WPAD
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
2011-03-18 12:53:02 +00:00
Matthias Clasen
b071eba8eb Network: Ellipsize the connection name label
For custom or VPN connections, the name can get long, so
better ellipsize, otherwise we risk resizing.
2011-03-17 22:12:48 -04:00
Matthias Clasen
22d7b535fc Network: try to fix horizontal resizing problems
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
2011-03-17 22:09:20 -04:00
Cosimo Cecchi
92c3f6dd61 all: set the 'inline-toolbar' style class to toolbars which need it
https://bugzilla.gnome.org/show_bug.cgi?id=645059
2011-03-17 15:09:09 -04:00
Matthias Clasen
28db9455f3 Network: forgotten file 2011-03-17 00:37:56 -04:00
Matthias Clasen
e43f922b89 Network: Avoid header pixel noise and inconsistent spacing
https://bugzilla.gnome.org/show_bug.cgi?id=644954
https://bugzilla.gnome.org/show_bug.cgi?id=644955
2011-03-16 23:18:05 -04:00