gnome-control-center/panels/network/connection-editor
Michael Catanzaro 88f9c7991c network: fix sensitivity of DNS and route configuration widgets
When the IP method is "disabled" or "shared" then everything else is
supposed to be insensitive. This currently fails if you toggle between
the two, because it's implemented using property bindings that are just
not smart enough to handle this task. Handle sensitivity only in
method_changed() to avoid this.

Additionally, not all of the widgets are being consistently
disabled/enabled when appropriate. E.g. when the method is "local" then
only the DNS entry, route entries, and default route checkboxes become
insensitive, leaving the other widgets, including notably the Automatic
switches, sensitive. They should all become insensitive, as when the
method is "disabled" or "shared." Fix this by organizing all the related
widgets into boxes and setting the sensitivity of the entire box. (Note
the strategy followed here does not exactly match nm-connection-editor,
which always allows editing addresses. We only allow that in Manual
mode. I'm not sure if this is advisable or not, so won't touch that.)

Finally, the Automatic DNS and Automatic Routes toggles should only be
sensitive when the method is "Automatic".
2023-10-27 12:56:27 +00:00
..
8021x-security-page.ui network: Port to GTK4 2021-12-14 22:34:21 -03:00
ce-ip-address-entry.c Drop most uses of deprecated gtk_style_context_add/remove_class 2023-01-05 18:55:51 +00:00
ce-ip-address-entry.h network: Make CEIPAddressEntry 2020-12-11 19:06:48 +00:00
ce-netmask-entry.c Drop most uses of deprecated gtk_style_context_add/remove_class 2023-01-05 18:55:51 +00:00
ce-netmask-entry.h network: Make CENetmaskEntry 2020-12-11 19:06:48 +00:00
ce-page-8021x-security.c network: replace wireless-security with libnma's NMAWs 2022-11-30 13:40:09 +01:00
ce-page-8021x-security.h network: Convert CEPage widgets to GtkTemplate 2019-11-06 22:04:15 +13:00
ce-page-details.c network: Connect signal handlers in swapped form 2023-06-07 09:12:54 +12:00
ce-page-details.h wifi: Add a confirmation dialog when forgetting a connection 2023-04-11 11:28:26 +00:00
ce-page-ethernet.c Resolving suggestions 2023-03-29 14:26:55 +13:00
ce-page-ethernet.h Fix license headers that must have got search and replaced 2020-07-17 09:24:32 +12:00
ce-page-ip4.c network: fix sensitivity of DNS and route configuration widgets 2023-10-27 12:56:27 +00:00
ce-page-ip4.h network: Port to GTK4 2021-12-14 22:34:21 -03:00
ce-page-ip6.c network: fix sensitivity of DNS and route configuration widgets 2023-10-27 12:56:27 +00:00
ce-page-ip6.h network: Port to GTK4 2021-12-14 22:34:21 -03:00
ce-page-security.c network: replace wireless-security with libnma's NMAWs 2022-11-30 13:40:09 +01:00
ce-page-security.h Fix license headers that must have got search and replaced 2020-07-17 09:24:32 +12:00
ce-page-vpn.c network: Port to GTK4 2021-12-14 22:34:21 -03:00
ce-page-vpn.h Fix license headers that must have got search and replaced 2020-07-17 09:24:32 +12:00
ce-page-wifi.c network: Port to GTK4 2021-12-14 22:34:21 -03:00
ce-page-wifi.h Fix license headers that must have got search and replaced 2020-07-17 09:24:32 +12:00
ce-page-wireguard.c network: Connect signal handlers in swapped form 2023-06-07 09:12:54 +12:00
ce-page-wireguard.h network: Add support for WireGuard (GNOME/gnome-control-center#982) 2023-01-16 20:35:02 +00:00
ce-page.c network: Port to GTK4 2021-12-14 22:34:21 -03:00
ce-page.h network: Convert CEPage widgets to GtkTemplate 2019-11-06 22:04:15 +13:00
connection-editor.gresource.xml network: Add support for WireGuard (GNOME/gnome-control-center#982) 2023-01-16 20:35:02 +00:00
connection-editor.ui network: Port connection editor to AdwWindow 2023-10-23 14:25:12 +00:00
details-page.ui Mark some strings as translatable 2023-08-11 12:07:00 +02:00
ethernet-page.ui network: Increase maximum MTU value from 10000 to 65536 2023-03-24 01:47:09 +00:00
ip4-page.ui network: fix sensitivity of DNS and route configuration widgets 2023-10-27 12:56:27 +00:00
ip6-page.ui network: fix sensitivity of DNS and route configuration widgets 2023-10-27 12:56:27 +00:00
meson.build all: meson: do not specify resources from gresource files as dependencies 2023-05-24 08:34:14 +00:00
net-connection-editor.c network: Port connection editor to AdwWindow 2023-10-23 14:25:12 +00:00
net-connection-editor.h network: Port connection editor to AdwWindow 2023-10-23 14:25:12 +00:00
security-page.ui network: Port to GTK4 2021-12-14 22:34:21 -03:00
vpn-helpers.c vpn-helpers: Use GtkFileDialog and AdwMessageDialog 2023-06-06 13:33:29 +00:00
vpn-helpers.h network: Remove unused function 2019-11-06 22:04:15 +13:00
vpn-page.ui network: Port to GTK4 2021-12-14 22:34:21 -03:00
wifi-page.ui network: Port to GTK4 2021-12-14 22:34:21 -03:00
wireguard-page.ui network: Add mnemonic widgets to the wireguard editor page, fixing reading of the labels of the fields 2023-10-24 09:17:00 +00:00
wireguard-peer.ui network: Use better labels for the peer row 2023-10-24 09:17:00 +00:00