Commit graph

614 commits

Author SHA1 Message Date
Aleksander Morgado
ec0f5b0b29 network: load IMEI and Operator Name also in LTE-only modems
Also bump NetworkManager required version to 0.8.995, which is when
'NM_DEVICE_MODEM_CAPABILITY_LTE' was introduced.

https://bugzilla.gnome.org/show_bug.cgi?id=688212
2012-11-23 17:33:19 +01:00
Aleksander Morgado
0c8f4451b7 network: ensure IMEI is displayed and reload Operator Name when it changes
The IMEI was not being properly displayed in the UI; the code would load it
reading 'EquipmentIdentifier' from ModemManager, but the UI wasn't getting
refreshed properly when that happened. So at the end, the IMEI was stored but
not shown. This patch fixes the issue, by reloading the UI element when the IMEI
is retrieved.

The same issue was happening with the Operator Code, with the additional issue
being that this property is meant to change whenever the registration info in
the modem changes. Therefore, we now listen to the 'RegistrationInfo' signal to
detect the changes and update the Operator Name when that happens.

https://bugzilla.gnome.org/show_bug.cgi?id=688211
2012-11-23 17:32:56 +01:00
Bastien Nocera
b831fcad33 network: Avoid type clashes with the Bluetooth panel
Done with:
sed -i -e 's/RfkillGlib/CcRfkillGlib/g'         \
	    -e 's/RFKILL_GLIB/CC_RFKILL_GLIB/g' \
	    -e 's/rfkill_glib/cc_rfkill_glib/g' \
	    -e 's/RFKILL_TYPE_GLIB/CC_RFKILL_TYPE_GLIB/g' \
	    rfkill-glib.[ch] cc-network-panel.c

This would need to be done when we reset the copy/paste from
gnome-bluetooth.
2012-11-09 11:50:23 +01:00
Bastien Nocera
b72c1c5541 network: Make sure Airplane mode switch everything off
And not just wireless. We need to use /dev/rfkill directly
to make sure that all the devices (3G, GPS, Bluetooth, etc.) get
switched off correctly when airplane mode is on.

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

Conflicts:
	panels/network/cc-network-panel.c
2012-11-09 11:50:22 +01:00
Bastien Nocera
0d180857ab network: Make sure flight mode is always visible
Because it's not just about disabling the network, it needs
to disable a host of other wireless devices, and those need to
be blocked even if you end up plugging them into your computer.

Conflicts:
	panels/network/cc-network-panel.c
2012-11-09 11:50:22 +01:00
Cosimo Cecchi
fdb42333d1 network: don't add the header widget in an idle
Add it in constructed() instead, since we need the value of the
construct-only shell property in order for it to work.

https://bugzilla.gnome.org/show_bug.cgi?id=687864
2012-11-07 12:32:21 -05:00
Dan Winship
8ba8f2e033 network: add support for showing bond slaves
https://bugzilla.gnome.org/show_bug.cgi?id=677147
2012-10-22 14:55:07 +02:00
Dan Winship
cb2eacdfd4 network: minimal support for unrecognized device types
https://bugzilla.gnome.org/show_bug.cgi?id=677151
2012-10-22 14:52:34 +02:00
Dan Winship
fa31613bd9 network: update for nma-wifi-dialog renaming
The old names are deprecated.

https://bugzilla.gnome.org/show_bug.cgi?id=677151
2012-10-22 14:52:25 +02:00
Bastien Nocera
3fd861b3f0 network: Remove setting of unused configuration key 2012-10-22 10:53:06 +02:00
Matthias Clasen
56f3f84e19 network: Add an 'Ignore Hosts' entry to the proxy page
This is needed in many situations where proxies are set up
manually.
https://bugzilla.gnome.org/show_bug.cgi?id=658155
2012-10-17 12:20:55 -04:00
Matthias Clasen
85dbe01725 network: Fix 8021x connections
We were always throwing away requests to connect to 8021x
APs, due to missing braces.

https://bugzilla.gnome.org/show_bug.cgi?id=686244
2012-10-17 11:34:40 +02:00
Bastien Nocera
f182ac98f4 network: Add more keywords to the desktop file 2012-10-11 09:22:35 +02:00
Dan Winship
63756458b2 network: disambiguate devices of the same type
If there are multiple devices that would end up with the same name in
the device list, disambiguate their names via new libnm-gtk API.

https://bugzilla.gnome.org/show_bug.cgi?id=677143
2012-10-11 09:22:35 +02:00
Dan Winship
71c0325f28 network: Factor out most of NetDeviceWired, create NetDeviceEthernet
Rename NetDeviceWired to NetDeviceEthernet, but split out most of the
code into a new NetDeviceSimple superclass that can later be used for
other device types that we provide only minimal UI/support for.

https://bugzilla.gnome.org/show_bug.cgi?id=677143
2012-10-11 09:22:35 +02:00
Dan Winship
9e5a8eb5c8 network: Rename "Wireless" to "Wi-Fi" in the UI
We support multiple kinds of wireless networks; clarify which kind
we're talking about here.

Also, add "Wi-Fi" and "Wifi" to the desktop file search keywords
(leaving "Wireless" there as well).

https://bugzilla.gnome.org/show_bug.cgi?id=677143
2012-10-11 09:22:34 +02:00
Bastien Nocera
a182126f14 network: Use a better string for the hidden network button
https://bugzilla.gnome.org/show_bug.cgi?id=684819
2012-10-09 10:21:40 +02:00
Bastien Nocera
d5d66b940a network: Clarify some Hotspot related strings
https://bugzilla.gnome.org/show_bug.cgi?id=684202
2012-10-09 10:18:30 +02:00
Bastien Nocera
c358506491 network: Verify command-line arguments
To avoid invalid bug reports ;)
2012-10-03 14:49:23 +02:00
Matthias Clasen
ea0f359e4d network: Use a regular button for 'Connect to Hidden'
The treeview is not really up to this level of custom UI.

https://bugzilla.gnome.org/show_bug.cgi?id=684819
2012-10-03 11:43:34 +02:00
Matthias Clasen
42d835b3ce network: Further refinements to out-of-range avoidance 2012-10-02 15:11:59 +02:00
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