diff --git a/gnome-control-center-fix-ws-sea-pass-toggle.patch b/gnome-control-center-fix-ws-sea-pass-toggle.patch new file mode 100644 index 0000000..30e5bfd --- /dev/null +++ b/gnome-control-center-fix-ws-sea-pass-toggle.patch @@ -0,0 +1,28 @@ +From d6d05abeba9dffc4840e52d24dbef871c97ae38c Mon Sep 17 00:00:00 2001 +From: Alynx Zhou +Date: Thu, 1 Dec 2022 11:17:38 +0800 +Subject: [PATCH] network: Fix wrong signal of SEA password visibility toggle + +Wrong pointer is used because of missing `_swapped`. +--- + panels/network/wireless-security/ws-sae.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/panels/network/wireless-security/ws-sae.c b/panels/network/wireless-security/ws-sae.c +index 83fe0c793..c9e4e5040 100644 +--- a/panels/network/wireless-security/ws-sae.c ++++ b/panels/network/wireless-security/ws-sae.c +@@ -212,8 +212,8 @@ ws_sae_new (NMConnection *connection) + (HelperSecretFunc) nm_setting_wireless_security_get_psk); + } + +- g_signal_connect (self->show_password_check, "toggled", +- G_CALLBACK (show_toggled_cb), self); ++ g_signal_connect_swapped (self->show_password_check, "toggled", ++ G_CALLBACK (show_toggled_cb), self); + + /* Hide WPA/RSN for now since this can be autodetected by NM and the + * supplicant when connecting to the AP. +-- +GitLab + diff --git a/gnome-control-center.changes b/gnome-control-center.changes index e8fac04..407c962 100644 --- a/gnome-control-center.changes +++ b/gnome-control-center.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Dec 6 04:31:50 UTC 2022 - Alynx Zhou + +- Add gnome-control-center-fix-ws-sea-pass-toggle.patch: Fix crash + when user clicking password visibility toggle in Security page + when method is WPA3 Personal + (glgo#GNOME/gnome-control-center!1520). + ------------------------------------------------------------------- Tue Oct 18 08:00:32 UTC 2022 - Bjørn Lie diff --git a/gnome-control-center.spec b/gnome-control-center.spec index b130c86..7ca3202 100644 --- a/gnome-control-center.spec +++ b/gnome-control-center.spec @@ -37,7 +37,8 @@ Source99: %{name}-rpmlintrc # PATCH-NEEDS-REBASE gnome-control-center-disable-error-message-for-NM.patch bsc#989801 sckang@suse.com -- network: Improve the check for whether NM or wicked is running Was:PATCH-FIX-OPENSUSE Patch0: gnome-control-center-disable-error-message-for-NM.patch - +# PATCH-FIX-UPSTREAM gnome-control-center-fix-ws-sea-pass-toggle.patch glgo#GNOME/gnome-control-center!1520 -- network: Fix wrong signal of SEA password visibility toggle +Patch1: gnome-control-center-fix-ws-sea-pass-toggle.patch ### patches for Leap >= 15 plus SLE >= 15, but not TW # PATCH-FEATURE-SLE gnome-control-center-info-never-use-gnome-software.patch bsc#999336 fezhang@suse.com -- info: Never search for gnome-software as an option when checking for updates on SLE and Leap 42.2, because we use gpk-update-viewer. Patch1001: gnome-control-center-info-never-use-gnome-software.patch @@ -184,6 +185,7 @@ GNOME control center. %setup -q # Patch needs rebase #%%patch0 -p1 +%patch1 -p1 # patches for Leap >= 15 plus SLE >= 15, but not TW %if 0%{?sle_version} >= 150000