gnome-control-center/panels/network
velsinki 99b42130b0 wifi: Fix crash when switching to other panel after forget network
Similar to the previous crashes, if you switch panels after forgetting a
network while the toast is still alive, Settings crashes. This is
because the AdwToastOverlay is not properly disposed because the Saved
Networks dialog is also not destroyed.

However, destroying the saved networks dialog still leaves a crash,
because the overlay disposal first unreferences its child, but we still
need that for the dismissal of the waiting toasts. Therefore, we keep an
extra reference to the saved networks list.

To prevent further crashing, we cannot set "list" to NULL, because there
may be multiple async calls. Also, we have to keep a reference to self
in the async call, otherwise it does not work when you remove many
networks and then switch panels.

As an added bonus, we can now use the saved networks list inside the UI
refresh function.
2023-12-19 09:33:26 +00:00
..
connection-editor ce-vpn-page: Fix layout of Identity page 2023-12-15 10:49:22 +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 net-proxy-page: Add use-underline property to the Network Proxy row 2023-11-13 09:52:29 +00:00
cc-network-panel.c network: Show top buttons on unsupported network daemon page 2023-11-24 10:49:08 +01:00
cc-network-panel.h network: Merge together methods 2019-11-06 10:16:40 +13:00
cc-network-panel.ui network: Add tooltip to some buttons 2023-11-29 10:12:30 +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 network: Share WPA3 (SAE) networks with QR Code 2023-11-27 12:15:20 +01: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 wifi: Don't show "Saved Wi-Fi Networks" row when there's nothing to show 2023-11-13 10:58:50 +00:00
cc-wifi-connection-list.h wifi: Don't show "Saved Wi-Fi Networks" row when there's nothing to show 2023-11-13 10:58:50 +00:00
cc-wifi-connection-row.c wifi: hide QR code icon when connection not successful 2023-11-23 05:10:07 +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 a11y label to the forget network button 2023-11-02 11:22:18 +01: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: Handle BT device connections ourselves 2023-11-21 13:38:32 +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 wifi: Fix crash when switching to other panel after forget network 2023-12-19 09:33:26 +00: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 network: Add tooltip to some buttons 2023-11-29 10:12:30 +00: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 wifi: Move Saved Network mostly to .ui and clean up 2023-12-19 09:33:26 +00: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