From 23301a41f5d7163478f0aa78244e559fe52bba40d5e2f2f2587eddb35334ea68 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 10 Nov 2021 11:08:36 +0000 Subject: [PATCH] Accepting request 930574 from home:qkzhu:branches:GNOME:Factory - Add gnome-control-center-fix-autologin-shortcut.patch: If we don't add this property for autologin_row, the shortcut to toggle the GtkSwitch won't work (bsc#1191887, glgo#GNOME/gnome-control-center!1084). OBS-URL: https://build.opensuse.org/request/show/930574 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=469 --- ...ontrol-center-fix-autologin-shortcut.patch | 28 +++++++++++++++++++ gnome-control-center.changes | 8 ++++++ gnome-control-center.spec | 3 ++ 3 files changed, 39 insertions(+) create mode 100644 gnome-control-center-fix-autologin-shortcut.patch diff --git a/gnome-control-center-fix-autologin-shortcut.patch b/gnome-control-center-fix-autologin-shortcut.patch new file mode 100644 index 0000000..9853a55 --- /dev/null +++ b/gnome-control-center-fix-autologin-shortcut.patch @@ -0,0 +1,28 @@ +From cb4d444ac1b46c3ea92dbb803d02de832ed4a9d9 Mon Sep 17 00:00:00 2001 +From: Chingkai Chu <3013329+chuchingkai@users.noreply.github.com> +Date: Wed, 27 Oct 2021 16:52:41 +0800 +Subject: [PATCH] user-accounts: Make autologin_switch a activatable_widget + +If we don't add this property for autologin_row, the shortcut to +toggle the GtkSwitch won't work. + +See: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1501 +--- + panels/user-accounts/cc-user-panel.ui | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/panels/user-accounts/cc-user-panel.ui b/panels/user-accounts/cc-user-panel.ui +index 134a9a39a..060bbaf5d 100644 +--- a/panels/user-accounts/cc-user-panel.ui ++++ b/panels/user-accounts/cc-user-panel.ui +@@ -414,6 +414,7 @@ + True + A_utomatic Login + True ++ autologin_switch + + + True +-- +2.33.1 + diff --git a/gnome-control-center.changes b/gnome-control-center.changes index e97ace8..11ba271 100644 --- a/gnome-control-center.changes +++ b/gnome-control-center.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Nov 10 03:42:53 UTC 2021 - QK ZHU + +- Add gnome-control-center-fix-autologin-shortcut.patch: + If we don't add this property for autologin_row, the shortcut to + toggle the GtkSwitch won't work (bsc#1191887, + glgo#GNOME/gnome-control-center!1084). + ------------------------------------------------------------------- Fri Oct 29 17:59:26 UTC 2021 - Bjørn Lie diff --git a/gnome-control-center.spec b/gnome-control-center.spec index a3517a7..c3bedb1 100644 --- a/gnome-control-center.spec +++ b/gnome-control-center.spec @@ -36,6 +36,8 @@ Source0: https://download.gnome.org/sources/gnome-control-center/41/%{nam # PATCH-FIX-OPENSUSE 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 Patch0: gnome-control-center-disable-error-message-for-NM.patch +# PATCH-FIX-UPSTREAM gnome-control-center-fix-autologin-shortcut.patch glgo#GNOME/gnome-control-center!1084 bsc#1191887 qkzhu@suse.com -- Make autologin_switch a activatable_widget +Patch1: gnome-control-center-fix-autologin-shortcut.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 @@ -192,6 +194,7 @@ GNOME control center. %setup -q %patch0 -p1 +%patch1 -p1 # patches for Leap >= 15 plus SLE >= 15, but not TW %if 0%{?sle_version} >= 150000 %patch1001 -p1