gnome-control-center/panels/network
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
..
connection-editor network: fix sensitivity of DNS and route configuration widgets 2023-10-27 12:56:27 +00:00
icons Add individual app icons 2022-01-31 14:08:22 +00:00
cc-net-proxy-page.c network: Port to Adw{Navigation,ToolbarView} 2023-08-25 08:00:43 +00:00
cc-net-proxy-page.h network: Port to Adw{Navigation,ToolbarView} 2023-08-25 08:00:43 +00:00
cc-net-proxy-page.ui network: Fix a non-translatable string 2023-08-28 08:11:41 +00:00
cc-network-panel.c Port to AdwNavigationSplitView 2023-08-25 08:00:43 +00:00
cc-network-panel.h network: Merge together methods 2019-11-06 10:16:40 +13:00
cc-network-panel.ui Port to AdwNavigationSplitView 2023-08-25 08:00:43 +00:00
cc-qr-code-dialog.c network: Fix some memory leaks 2023-07-03 01:56:24 +00:00
cc-qr-code-dialog.h wifi: Add QR code to share Wi-Fi networks 2023-02-14 19:11:07 -03:00
cc-qr-code-dialog.ui network: Improve QR code appearance 2023-02-14 19:52:47 -03:00
cc-qr-code.c wifi: Hide QR Code button for unsupported security 2023-08-29 14:30:06 +02:00
cc-qr-code.h wifi: Hide QR Code button for unsupported security 2023-08-29 14:30:06 +02:00
cc-wifi-connection-list.c cc-wifi-connection-list: Use correct setter in property getter 2023-06-13 04:35:38 +00:00
cc-wifi-connection-list.h wi-fi: Add delete icon in saved connections list 2023-06-07 22:58:37 +00:00
cc-wifi-connection-row.c wifi-connection-row: Add tooltip texts 2023-10-23 13:31:32 +00:00
cc-wifi-connection-row.h wi-fi: Add delete icon in saved connections list 2023-06-07 22:58:37 +00:00
cc-wifi-connection-row.ui wifi-connection-row: Add tooltip texts 2023-10-23 13:31:32 +00:00
cc-wifi-hotspot-dialog.c network: Validate max length of hotspot SSID 2023-03-23 22:36:00 +00:00
cc-wifi-hotspot-dialog.h network: Port to GTK4 2021-12-14 22:34:21 -03:00
cc-wifi-hotspot-dialog.ui network: Validate max length of hotspot SSID 2023-03-23 22:36:00 +00:00
cc-wifi-panel.c misc: Replace usage of CcListRow + switch with AdwSwitchRow 2023-06-30 09:06:56 +00:00
cc-wifi-panel.h network: Use #pragma once on headers 2018-11-05 08:33:22 -02:00
cc-wifi-panel.ui Port to AdwNavigationSplitView 2023-08-25 08:00:43 +00:00
gnome-network-panel.desktop.in desktop: Remove obsolete Bugzilla entries 2022-10-20 13:20:09 +00:00
gnome-wifi-panel.desktop.in desktop: Remove obsolete Bugzilla entries 2022-10-20 13:20:09 +00:00
lock-small-symbolic.svg network: Minimize small symbolic icons 2022-01-24 20:07:52 +00:00
meson.build all: meson: do not specify resources from gresource files as dependencies 2023-05-24 08:34:14 +00:00
net-device-bluetooth.c network: Replace deprecated nm_client_deactivate_connection 2022-06-20 02:29:39 +00:00
net-device-bluetooth.h network: Use AdwActionRow for NetDeviceBluetooth 2022-02-04 17:54:25 +00:00
net-device-ethernet.c Drop most uses of deprecated gtk_style_context_add/remove_class 2023-01-05 18:55:51 +00:00
net-device-ethernet.h network: Use AdwPreferences{Page,Group} for network panel 2022-02-04 17:54:25 +00:00
net-device-mobile.c Replace all occurrences of 'gtk_widget_hide' 2023-03-29 14:26:55 +13:00
net-device-mobile.h network: Convert NetDeviceEthernet, NetDeviceBluetooth and NetDeviceMobile to GtkTemplate 2019-11-06 10:40:23 +13:00
net-device-wifi.c misc: Fix incompatible type warnings 2023-10-12 10:09:44 +02:00
net-device-wifi.h network: Port to GTK4 2021-12-14 22:34:21 -03:00
net-vpn.c network: Add support for WireGuard (GNOME/gnome-control-center#982) 2023-01-16 20:35:02 +00:00
net-vpn.h network: Add support for WireGuard (GNOME/gnome-control-center#982) 2023-01-16 20:35:02 +00:00
network-bluetooth.ui network: Consistently make options buttons flat 2023-08-02 12:51:48 +00:00
network-dialogs.c Resolving suggestions 2023-03-29 14:26:55 +13:00
network-dialogs.h network: Use #pragma once on headers 2018-11-05 08:33:22 -02:00
network-ethernet.ui data: mark translatable strings yes 2023-09-18 00:31:24 +03:00
network-mobile.ui Mark some strings as translatable 2023-08-11 12:07:00 +02:00
network-vpn.ui Make buttons in actions rows and header flat 2022-06-01 02:17:13 +00:00
network-wifi.ui network: Use AdwSwitchRow for wifi device enable row 2023-06-30 11:52:42 +02:00
network.gresource.xml wifi: Add QR code to share Wi-Fi networks 2023-02-14 19:11:07 -03:00
panel-common.c Network: Show all IPv6 addresses for an interface 2021-05-12 14:17:52 +12:00
panel-common.h Network: Show all IPv6 addresses for an interface 2021-05-12 14:17:52 +12:00
qr-code-symbolic.svg wifi: Add QR code to share Wi-Fi networks 2023-02-14 19:11:07 -03:00
qrcodegen.c wifi: Add HotSpot QR code support 2020-08-05 14:25:51 +05:30
qrcodegen.h wifi: Add HotSpot QR code support 2020-08-05 14:25:51 +05:30
ui-helpers.c Drop most uses of deprecated gtk_style_context_add/remove_class 2023-01-05 18:55:51 +00:00
ui-helpers.h network: Move common code to common location 2019-11-27 22:05:46 +00:00
warning-small-symbolic.svg network: Minimize small symbolic icons 2022-01-24 20:07:52 +00:00
wifi-panel.css network: Fix QR code with dark theme 2022-02-11 17:24:52 +00:00