Accepting request 930636 from 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). (forwarded request 930574 from qkzhu)

OBS-URL: https://build.opensuse.org/request/show/930636
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-control-center?expand=0&rev=205
This commit is contained in:
Dominique Leuenberger 2021-11-12 14:59:03 +00:00 committed by Git OBS Bridge
commit e85772bbbf
3 changed files with 39 additions and 0 deletions

View File

@ -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 @@
<property name="visible">True</property>
<property name="title" translatable="yes">A_utomatic Login</property>
<property name="use_underline">True</property>
+ <property name="activatable_widget">autologin_switch</property>
<child>
<object class="GtkSwitch" id="autologin_switch">
<property name="visible">True</property>
--
2.33.1

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Nov 10 03:42:53 UTC 2021 - QK ZHU <qkzhu@suse.com>
- 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 <bjorn.lie@gmail.com> Fri Oct 29 17:59:26 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -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 # 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 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 ### 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. # 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 Patch1001: gnome-control-center-info-never-use-gnome-software.patch
@ -192,6 +194,7 @@ GNOME control center.
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
%patch1 -p1
# patches for Leap >= 15 plus SLE >= 15, but not TW # patches for Leap >= 15 plus SLE >= 15, but not TW
%if 0%{?sle_version} >= 150000 %if 0%{?sle_version} >= 150000
%patch1001 -p1 %patch1001 -p1