Commit graph

428 commits

Author SHA1 Message Date
Matthias Clasen
d6e11db107 network: Fix hotspot switch getting out of sync
When the user switches the hotspot switch off, we present a
confirmation dialog which can be canceled. We do keep the
hotspot running in that case, but we forget to set the switch
back to 'on'. Fix that.
2013-01-30 13:05:33 -05:00
Matthias Clasen
96caacc136 network: Add status label and icon to wifi header
This is part of the design refresh for the network panel.
2013-01-30 13:05:33 -05:00
Matthias Clasen
9f86b03353 network: Add a spinner while connecting
This is part of the new listbox-based design for the
network panel.
2013-01-30 13:05:33 -05:00
Matthias Clasen
d0f0e8c99c network: no more cell renderers
Now that the list has been converted to a listbox, we don't
need any of these anymore.
2013-01-30 13:05:32 -05:00
Matthias Clasen
71dad5e98b network: Initial listbox conversion
This commit turns the main access point list into a listbox,
and moves out-of-range connections into a History dialog.
2013-01-30 13:05:32 -05:00
Matthias Clasen
44152f3b79 network: fix a small memory leak 2013-01-09 08:43:50 -05:00
Cosimo Cecchi
8d5f2908b5 panels: add --sourcedir=$(srcdir) when generating resource list
Like b8e93fb333 but for all panels.
2013-01-07 16:23:57 -05:00
Cosimo Cecchi
57de0ab019 network: use a GResource for GtkBuilder UI definition
https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-07 10:57:06 +01:00
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
Jasper St. Pierre
23e51495ee network: Don't reference CcNetworkPanel directly from some helper code
All we need is the toplevel, here, so pass that in directly.

https://bugzilla.gnome.org/show_bug.cgi?id=690086
2012-12-13 11:55:33 -05:00
Jasper St. Pierre
6b1ae0b18f network: Add a proper header guard to network-dialogs.h
We want to copy/paste this into g-i-s, so it needs to at least try
to be a decent library-ish thing.

https://bugzilla.gnome.org/show_bug.cgi?id=690086
2012-12-13 11:55:33 -05:00
Bastien Nocera
e419ee7d4e panels: Remove unused X-GNOME-Settings-Panel key 2012-12-11 17:09:04 +01:00
Bastien Nocera
3686cf7eb8 shell: Make all control-center plugins static
This makes loading faster, with less I/O, avoids unnecessary
code duplication (around 1k lines shaved), and ensures that
all the panels link and work appropriately.

By the same token, it will stop external panels from being
created, and loaded.

https://bugzilla.gnome.org/show_bug.cgi?id=690036
2012-12-11 17:07:39 +01:00
Jeremy Bicha
f325a5aae3 network: Use the proper Unicode ellipsis (…) instead of three dots 2012-12-03 09:18:15 -05:00
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