Commit graph

343 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
446f7cf027 network: Fix parenting of the broadband wizard
By showing the wizard in an idle by default, or waiting until
the shell is visible.
2012-10-02 08:57:38 +02:00
Bastien Nocera
aceaf347a9 network: Show the network dialogues after showing the shell
To avoid confusing the hell out of Mutter, we should show the
parented dialogue _after_ showing the parent itself.

https://bugzilla.gnome.org/show_bug.cgi?id=684927
2012-10-01 23:09:30 +02:00
Bastien Nocera
3c973b587d network: Add debug for argv handling 2012-10-01 23:05:29 +02:00
Bastien Nocera
d941ca15af network: Fix possible incorrect exit of the loop
A bug fix for the Proxy page handling
2012-10-01 23:03:54 +02:00
Bastien Nocera
813843cf85 network: Fix possible crasher when handling argv prop
When looking for a matching device, we might end up checking
for the proxy page's nm-device, which it obviously doesn't have.
2012-10-01 21:16:05 +02:00
Bastien Nocera
4b30021a97 network: Top-align the back button in wifi panels 2012-09-28 13:35:28 +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
194d28ae50 network: Simplify access to the device treeview 2012-09-28 11:24:11 +02:00
Bastien Nocera
a11ad3bed1 network: Handle argv property every time it changes
Newer version of network-manager-applet required to avoid the
run-time warnings though.

https://bugzilla.gnome.org/show_bug.cgi?id=684983
2012-09-28 11:14:33 +02:00
Bastien Nocera
4c23703474 network: Remove g_print() debug 2012-09-27 22:39:12 +02:00
Bastien Nocera
dc559e3a99 network: Clean up all args when done handling them 2012-09-27 20:26:50 +02:00
Bastien Nocera
38cbe1fb16 network: Add function to clean up the argv property 2012-09-27 20:23:57 +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
Piotr Drąg
c3c0f2a3e5 Mark string as translatable 2012-09-18 18:39:52 +02:00
Matthias Clasen
98040db22a network: No selection in the wifi list
Set the selection mode to none, to avoid a meaningless and
distracting blue selection in the wifi list.
2012-09-13 15:50:50 +01: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
24968aad71 network: Add cell renderers
These are activatable variants of text and pixbuf cell
renderers. They emit an 'activate' signal when clicked
or activated by keyboard.
2012-09-13 15:50:49 +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
a04445ebd7 network: Remove one more reference to the subnet widgets 2012-09-13 15:50:48 +01:00
Matthias Clasen
7882874a14 network: Remove a reference to a no-longer existing widget 2012-09-13 15:50:48 +01:00
Matthias Clasen
63fd710f83 network: Small tweak for vpn page
Make selectable labels on the vpn page focusable as well.
2012-09-13 15:50:48 +01:00
Matthias Clasen
aec8cdd7f1 network: Don't show subnet for wired either
We don't show it for wifi details, and it is causing ugly warnings
from the setting code.

At the same time, make all selectable labels on the wired page
focusable as well, to be consistent with wifi.
2012-09-13 15:50:47 +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
18248493d5 network: Remove an unused object from the ui file 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
f10a29b10f network: Make all values selectable and focusable
Also, sort them so that the focus chain makes sense.
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
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
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
56a0be0422 network: Add more buttons
Make the details pages for in-range and out-of-range aps more
similar, by adding 'Forget Network' and 'Settings...' buttons
to both.

This is a step towards using the same details page for all
aps and connections.
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
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
cd0363d3f5 Set a window title on the hotspot dialog
Set a blank title on the hotspot dialog, otherwise it shows up
as gnome-control-center, which is ugly.
2012-09-06 19:10:37 -04: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