Accepting request 1112961 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1112961 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-control-center?expand=0&rev=231
This commit is contained in:
commit
20a5219bdd
13
gnome-control-center-add-user-button.patch
Normal file
13
gnome-control-center-add-user-button.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/panels/user-accounts/cc-user-panel.c b/panels/user-accounts/cc-user-panel.c
|
||||||
|
index 3fdfe961e..fa3af01f8 100644
|
||||||
|
--- a/panels/user-accounts/cc-user-panel.c
|
||||||
|
+++ b/panels/user-accounts/cc-user-panel.c
|
||||||
|
@@ -830,7 +830,7 @@ show_user (ActUser *user, CcUserPanel *self)
|
||||||
|
gtk_widget_set_visible (GTK_WIDGET (self->back_button), !show);
|
||||||
|
show_or_hide_back_button(self);
|
||||||
|
gtk_widget_set_visible (GTK_WIDGET (self->other_users), other_user_show);
|
||||||
|
- gtk_widget_set_visible (GTK_WIDGET (self->add_user_button), show && is_admin);
|
||||||
|
+ gtk_widget_set_sensitive (GTK_WIDGET (self->add_user_button), is_admin);
|
||||||
|
|
||||||
|
on_permission_changed (self);
|
||||||
|
}
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 22 03:30:16 UTC 2023 - Xiaoguang Wang <xiaoguang.wang@suse.com>
|
||||||
|
|
||||||
|
- Add gnome-control-center-add-user-button.patch:
|
||||||
|
Show add user button when user is a normal user
|
||||||
|
(bsc#1215556 glgo#GNOME/Settings!1927).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 15 10:22:39 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
Fri Sep 15 10:22:39 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
@ -37,6 +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
|
# 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
|
||||||
Patch1: gnome-control-center-disable-error-message-for-NM.patch
|
Patch1: gnome-control-center-disable-error-message-for-NM.patch
|
||||||
|
# PATCH-FIX-UPSTREAM gnome-control-center-add-user-button.patch bsc#1215556 glgo#GNOME/Settings!1927 xwang@suse.com -- Show add user button
|
||||||
|
Patch2: gnome-control-center-add-user-button.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.
|
||||||
@ -182,6 +184,7 @@ GNOME control center.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
#patch1 -p1
|
#patch1 -p1
|
||||||
|
%patch2 -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
|
||||||
|
Loading…
Reference in New Issue
Block a user