Mohammed Sadiq
452439a036
wifi: Simplify airplane mode switch
2021-01-08 02:54:15 +00:00
Mohammed Sadiq
4b9dd7d54d
wifi-connection-row: Fix alignment of wifi name
2020-12-22 19:08:58 +05:30
Robert Ancell
aef13948eb
network: Remove duplicate list
...
We can just iterate over the GtkNotebook - no need to mantain a list of pages.
2020-12-17 21:27:51 +00:00
Robert Ancell
362548fbd1
network: Don't explicitly disconnect signals that are automatically disconnected.
2020-12-17 21:27:51 +00:00
Robert Ancell
8ded3d956f
network: Show spinner instead of delaying dialog
...
It's better to respond to the user immediately rather than delay the window opening.
2020-12-17 21:27:51 +00:00
Robert Ancell
a1e26cdac1
network: Set transient window from outside NetConnectionEditor constructor
2020-12-17 21:27:51 +00:00
Robert Ancell
d79fa68fbc
network: Make CENetmaskEntry
2020-12-11 19:06:48 +00:00
Robert Ancell
c1a13ccaba
network: Make CEIPAddressEntry
2020-12-11 19:06:48 +00:00
Robert Ancell
c9ea93f195
network: Use g_autoptr with GList
2020-12-11 19:06:48 +00:00
Robert Ancell
fbaa9cb607
network: Remove logic checking visibility of always visibile widget
2020-12-11 19:06:48 +00:00
Robert Ancell
25963ccf8c
network: Fix small memory leak
2020-11-24 20:59:58 +00:00
Robert Ancell
e58a504174
network: Remove unused function prototypes
2020-11-24 20:59:58 +00:00
Robert Ancell
15717be456
network: Correctly detect when ethernet devices are hotplugged.
...
Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/995
2020-11-19 23:32:16 +00:00
Robert Ancell
64a2e54ec6
network: Update design of the WiFi list.
...
https://gitlab.gnome.org/Teams/Design/settings-mockups/raw/master/wifi/wifi-list.png
Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1185
2020-11-16 17:01:16 +13:00
Robert Ancell
3beaa9d158
network: Move signals handlers into .ui files
2020-11-11 20:13:46 +00:00
Robert Ancell
551d72280b
network: Stop using deprecated nm_device_*_get_hw_address
...
There is a general nm_device_get_hw_address which has been available since
NetworkManager 0.9.10.
2020-11-08 22:41:40 +00:00
Robert Ancell
83925b3e41
network: Sort Wifi connections
...
Sort connected first, then configured, then by strength.
Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/736
2020-11-08 20:06:42 +00:00
Robert Ancell
bc6400a8d7
network: Fix SAE password visibility toggle.
...
Was trying to toggle the wrong widget.
2020-11-05 12:36:38 +13:00
Dmitry Sharshakov
b31520ae8b
Disable the button for hidded Wi-Fi when Wi-Fi is turned off
2020-09-25 03:35:56 +00:00
Jonathan Kang
918838f567
network: complete SAE support
...
Added WirelessSecuritySAE class to fully implement SAE support.
2020-09-25 02:06:52 +00:00
Bastien Nocera
eb79846c53
network: Fix missing prototype error
...
gnome-control-center/panels/network/net-device-wifi.c:1179:1: warning: no previous prototype for ‘nm_client_on_permission_change’ [-Wmissing-prototypes]
1179 | nm_client_on_permission_change (NetDeviceWifi *self) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2020-09-16 10:11:48 -03:00
Jamison Lofthouse
9efe9eefd3
Monitor NMClient permissions for change
2020-08-19 09:04:35 +12:00
Bin Li
f66e22df57
details-page.ui: Fixed rows of text collide, increased child's top_attach
...
after auto_connect_check.
Closes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/933
2020-08-18 15:06:40 +12:00
Adrien Plazas
fd60c313df
Stop using HANDY_USE_UNSTABLE_API
...
It isn't needed anymore since libhandy 0.90.0.
2020-08-18 02:51:04 +00:00
Robert Ancell
f1d892f46b
network: Fix logic in showing IP6 route metric.
...
The logic was inverted and ensured the value was always <= 0.
2020-08-07 03:40:01 +00:00
Mohammed Sadiq
cc7662e24b
wifi: Add HotSpot QR code support
...
When wifi hotspots are created generate a QR code
so that supported devices can connect to the hotspot
by simply scanning the QR code image
2020-08-05 14:25:51 +05:30
Adrien Plazas
f2f188974d
Adapt to HdyActionRow changes
...
Its title property got dropped as it was coliding with the one it
inherits from HdyPreferencesRow, so use that one instead.
See https://gitlab.gnome.org/GNOME/libhandy/-/issues/258
2020-07-30 12:07:05 +00:00
Yuri Chornoivan
e7050ab6f4
Fix minor typos
2020-07-20 10:38:09 +03:00
Adrien Plazas
684d1202c1
Fix the HdyActionRow child order
...
In libhandy 0.0, action children were added from the end to the start,
in libhandy 1 it is from the start to the end, so the order they are
added to the row need to be reversed.
2020-07-20 08:04:28 +02:00
Adrien Plazas
0c71793e7c
Stop using the action HdyActionRow child type
...
It has been dropped and is now the default child type.
2020-07-20 08:04:28 +02:00
Adrien Plazas
f06379e30c
Replace HdyColumn by HdyClamp
...
In libhandy 1, HdyClamp replaces HdyColumn. This stops setting values
when they match HdyClamp's defaults.
2020-07-20 08:04:28 +02:00
Adrien Plazas
9e2a2836d9
Use GtkDialog instead of HdyDialog
...
HdyDialog has been dropped in libhandy 1.
2020-07-20 08:04:28 +02:00
Robert Ancell
53c9d4999f
network: Remove unused sort function.
...
Nothing was setting the "first" or "last" data used in the sort.
2020-07-19 23:27:30 +00:00
David Bauer
1d0b664f7c
Add support for Enhanced Open WiFi security
2020-07-17 03:41:44 +00:00
Robert Ancell
36196e422f
network: Fix broken logic
...
Was introduced in ed15c1a2f0
2020-07-17 13:39:30 +12:00
Michael Catanzaro
d055c4de5c
Fix -Wimplicit-function-declaration in previous commit
...
Dumb mistake, sorry. Follow up to !791
2020-07-16 18:59:22 -05:00
Michael Catanzaro
ed15c1a2f0
Fix setting to disable IPv6
...
The setting to disable IPv6 did not actually work. Instead, it just
caused NetworkManager to ignore IPv6 entirely. From the libnm
documentation of NM_SETTING_IP6_CONFIG_METHOD_IGNORE: "IPv6 is not
required or is handled by some other mechanism, and NetworkManager
should not configure IPv6 for this connection." It's just the wrong enum
to use here.
I considered adding a new radio button to use the older ignore setting,
but it doesn't make a ton of sense since that setting allows IPv6 to be
configured outside NetworkManager, and what is the point of exposing
graphical configuration for that? So instead, we can have the GUI change
the value from IGNORE to DISABLED if set.
Fixes #593
2020-07-16 23:41:07 +00:00
Robert Ancell
5cc1294390
Fix license headers that must have got search and replaced
2020-07-17 09:24:32 +12:00
Felix Riemann
cd3fa0195b
network: Fix connection editor blanking when removing manual entry
...
To delete a manual entry row (IP addresses or routes) the remove_row
function started walking the widget hierarchy at the connection editor
widget. This caused the entire dialog box getting removed. Begin at the
GtkButton instead to actually remove the corresponding line.
Fixes #972 .
2020-07-16 21:05:23 +00:00
Jamison Lofthouse
f103ca3d04
Disconnect wifi device changed callback
2020-06-30 03:56:31 +00:00
Jamison Lofthouse
a2e494f418
Clean up wifi panel widgets in correct order
2020-06-30 03:56:31 +00:00
Jamison Lofthouse
f4d2eeb7f7
Add wifi device change callback
...
Add any wifi devices that have become managed or remove ones that have
become unmanaged. Since a device could have been added or removed
previously, we also have to handle multiple calls to add or remove a
device.
2020-06-30 03:56:31 +00:00
Jamison Lofthouse
6c63c3980e
Split wifi device handling conditions
2020-06-30 03:56:31 +00:00
Jamison Lofthouse
0e26087a01
Split device removed into separate functions
2020-06-30 03:56:31 +00:00
Robert Ancell
5b14e16e9c
network: Connect signals with g_signal_connect_object in swapped form
2020-03-30 16:18:50 +13:00
Felipe Borges
a09fbc3054
network: Make the VPN gear buttons' style consistent with other butons
...
Fixes #890
2020-02-29 17:53:00 +00:00
Robert Ancell
93b14a4339
panel: Move shared GCancellable code into panel class
...
Make the panel class provide a cancellable that will be cancelled when the panel
is destroyed. Panel implementations can use this and not have to mangage the
cancellable themselves. Consolidate cases where panels had multiple cancellables
that were all being used for this behaviour.
2020-02-03 09:36:24 +13:00
Georges Basile Stavracas Neto
4bef33781c
network: Fix ws_wpa_psk_new call
...
Introduced by d168eee5cd
.
2020-02-02 12:24:23 -03:00
Robert Ancell
4897c6d8e3
network: Handle case where GtkComboBox has no active iter
2020-01-31 14:13:15 +00:00
Robert Ancell
6bb77ec1e2
network: Fix GError being overwritten
2020-01-31 14:13:15 +00:00