Commit graph

52 commits

Author SHA1 Message Date
Bastien Nocera
75086eb149 network: Fix WPA Enterprise connection not working
https://bugzilla.gnome.org/show_bug.cgi?id=685207
2012-10-02 14:55:59 +02:00
Bastien Nocera
7e708ae52c network: Scope correctly the connection variable 2012-10-02 12:33:15 +02:00
Bastien Nocera
e7e02390b6 network: Add debug for connection activation failures 2012-10-02 12:28:58 +02:00
Matthias Clasen
6264fea2fe Don't try to activate out-of-range connections
It is not going to work...
https://bugzilla.gnome.org/show_bug.cgi?id=684824
2012-10-02 12:07:00 +02:00
Bastien Nocera
ccc3f0bf3c network: Don't resize the panel or the wifi list 2012-09-28 12:21:25 +02:00
Bastien Nocera
4c23703474 network: Remove g_print() debug 2012-09-27 22:39:12 +02:00
Matthias Clasen
52387c58be network: RTL flipping for details arrow
https://bugzilla.gnome.org/show_bug.cgi?id=684604
2012-09-25 13:14:18 +02:00
Matthias Clasen
c3d00a6c44 Make connecting to Enterprise WPA work again
gnome-shell relies on being able to call
gnome-control-center network connect-8021x-wifi <DEVICE> <AP>
This was broken in the big refactoring of the wifi panel
last cycle. Bring it back.
2012-09-22 11:49:34 -04:00
Matthias Clasen
794b89d561 network: Handle activation in the wifi list better
Instead of manually handling button release events on the
treeview, use activatable cell renderers for the ssid text
and for the arrow, and connect to activate signals for them.

We use cell area focus-sibling technology to make the keynav
in the list just have focus locations for the ssid and the
arrow.

This makes the details pages reachable by keynav, which was
not the case before.
2012-09-13 15:50:50 +01:00
Matthias Clasen
292c8b9fe6 network: Don't override cell renderer properties
The mode cell renderer had a property named 'mode', which
clashed with the GtkCellRenderer property of that name, which
confused the treeview keynav.

Rename the new property to ap-mode.
2012-09-13 15:50:49 +01:00
Matthias Clasen
701fb2846f network: Avoid critical warnings
Remove the reference to the new longer existing viewport_list
widget, and be more careful about getting a NMRemoteSettings
object when calculating the last used time.
2012-09-13 15:50:49 +01:00
Matthias Clasen
36958cbf84 network: Improve the wifi list appearance
Use non-symbolic icons for the arrow, and add padding around the
arrow and the check mark.

https://bugzilla.gnome.org/show_bug.cgi?id=682270
2012-09-13 15:50:49 +01:00
Matthias Clasen
17e3c23cd5 network: Remove references to no-longer existing widgets
And also make sure the initial focus on the details page is
always on the back button.
2012-09-13 15:50:47 +01:00
Matthias Clasen
75d815ded3 network: Remove the saved-ap tab
Saved connections without an access point are now shown
in the same tab as all the others.
2012-09-13 15:50:47 +01:00
Matthias Clasen
32c29a3f25 network: Only show 'Out of range' when appropriate
Showing it whenever we have a saved connection goes wrong for
all items where we have both an ap and a saved connection.

Also, use the same details page for out-of-range saved connections.
2012-09-13 15:50:46 +01:00
Matthias Clasen
3871d52947 network: Make 'Connect to hidden' work again 2012-09-13 15:50:46 +01:00
Matthias Clasen
78e9ed9cea network: Say 'never' when the connection hasn't been used
Nicer to say 'Last used: never', then to show nothing.
2012-09-13 15:50:46 +01:00
Matthias Clasen
16011384ef network: Say 'today' instead of '0 days ago'
'Last used: 0 days ago' is odd. Also, say 'yesterday' instead
of '1 day ago'.
2012-09-13 15:50:45 +01:00
Matthias Clasen
f6aff65e64 network: Add a 'Last used' item
Copy the 'Last used' item for non-active, in-range access
points.

This is another step towards using the same details page
for all aps and connections.
2012-09-13 15:50:45 +01:00
Matthias Clasen
ab045fcc0b network: Add a period to the disconnect warning 2012-09-13 15:50:45 +01:00
Matthias Clasen
1ba197468b network: Add a 'Connect' button
When showing details of a non-active access point, replace the
'Disconnect' button with a 'Connect' button.
2012-09-13 15:50:45 +01:00
Matthias Clasen
518efcda09 network: Start handling disconnected APs correctly
When showing the details for an in-range, but not active access
point, we were just always showing details for the currently
active connection. This commit starts to sort things apart.
2012-09-13 15:50:44 +01:00
Matthias Clasen
69a823f9a9 network: Rename a function
'Connect to hidden' is not really an access point.
Update the function name to reflect that. Also, update
the translator comment to be more to the point.
2012-09-13 15:50:44 +01:00
Matthias Clasen
ac67290cb7 network: Make the 'Settings...' buttons work properly
The code was assuming that 'editing' always means editing the
currently active connection. With the new design of the wifi
details tabs, that is no longer the case, we want to be able
to edit non-active connections. This commit makes it so.
2012-09-13 15:50:43 +01:00
Matthias Clasen
31dade6279 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.
2012-09-13 15:50:43 +01:00
Matthias Clasen
ec629b73ad network: Add a separator before the arrow when needed
The separator is giving a hint that there are two clickable
areas in the row.

https://bugzilla.gnome.org/show_bug.cgi?id=682270
2012-09-13 15:50:43 +01:00
Jiro Matsuzawa
8c921b2dd4 network: add translation context for Wifi security
https://bugzilla.gnome.org/show_bug.cgi?id=682876
2012-08-28 16:51:47 +01:00
Matthias Clasen
478c6af97d network: Make only the list background white 2012-08-08 01:14:58 -04:00
Matthias Clasen
96682e1368 network: Put the ssid in the detail page header 2012-08-08 00:32:34 -04:00
Matthias Clasen
61a5c180ec network: Don't make the options button insensitive
We always want to be able to go there.
2012-08-08 00:18:15 -04:00
Matthias Clasen
0e70a56f9e Trivial: Add a missing space 2012-08-07 23:44:22 -04:00
Matthias Clasen
e76472c548 network: Improve the hotspot dialog
Change the hotspot dialog to match the mockups more closely.
2012-08-07 23:40:47 -04:00
Matthias Clasen
c3e71b4927 network: Don't show shared connections in the wifi list
A shared connection is the leftover of an inactive hotspot.
We don't want to show these in the list.
2012-08-07 10:19:18 -04:00
Richard Hughes
ed1c9becf7 network: If a hotspot is already connected at startup then don't show the AP list 2012-08-07 11:13:03 +01:00
Richard Hughes
ae5acbe421 network: Show hotspot details in a new sub-frame to match the mockup 2012-07-30 09:53:38 +01:00
Richard Hughes
14011dac11 network: Cleanup coding style to match the rest of the file 2012-07-30 09:49:40 +01:00
Richard Hughes
240e3b0598 network: Do not show the start hotspot button if the user has no permissions 2012-07-30 09:45:44 +01:00
Richard Hughes
5b35fb719c network: Re-enable the hidden network functionality 2012-07-30 08:57:55 +01:00
Richard Hughes
f7af831ff6 network: Make the hidden network UI match the new mockups 2012-07-30 08:53:43 +01:00
Richard Hughes
5c5c538ebe network: Don't show the speed and security when the wifi device is deactivated 2012-07-27 16:19:18 +01:00
Richard Hughes
7cca78437d network: Forget the last selected network when the button is clicked
Before we were deleting the connection currently bound to the device...
2012-07-27 14:12:18 +01:00
Richard Hughes
1aa2ed9491 network: Show detailed information about saved wireless connections 2012-07-27 11:49:54 +01:00
Richard Hughes
9a10722da2 network: Show the wireless speed as a seporate line in the details
...to match the mockup.
2012-07-26 15:42:00 +01:00
Richard Hughes
a0f69c0809 network: Don't crash when showing active APs that are not valid UTF8
There doesn't appear to be any standard saying you have to have ASCII/UTF-8
access point names...
2012-07-26 14:47:06 +01:00
Richard Hughes
f14b550144 network: Only show the disconnect button when a device is fully activated 2012-07-26 14:43:54 +01:00
Richard Hughes
38ea1cdefd network: Add network strength to the details panel 2012-07-26 14:29:57 +01:00
Richard Hughes
6b526f1213 network: Add network strength to the details panel 2012-07-26 14:29:38 +01:00
Richard Hughes
e7319edc9b network: Add saved connections to the wireless network list 2012-07-26 14:23:31 +01:00
Richard Hughes
5c11b6f94b network: Only show the details arrow for active connections 2012-07-26 13:47:09 +01:00
Richard Hughes
391815c2c1 network: split the wireless panel into a network list and details panel 2012-07-26 13:38:55 +01:00