Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gnome-control-center for 
openSUSE:Factory checked in at 2023-09-26 22:00:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-control-center (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-control-center.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-control-center"

Tue Sep 26 22:00:23 2023 rev:231 rq:1112961 version:45.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/gnome-control-center/gnome-control-center.changes    
    2023-09-20 13:22:12.515639487 +0200
+++ 
/work/SRC/openSUSE:Factory/.gnome-control-center.new.1770/gnome-control-center.changes
      2023-09-26 22:22:51.430354218 +0200
@@ -1,0 +2,7 @@
+Fri Sep 22 03:30:16 UTC 2023 - Xiaoguang Wang <[email protected]>
+
+- Add gnome-control-center-add-user-button.patch:
+  Show add user button when user is a normal user
+  (bsc#1215556 glgo#GNOME/Settings!1927).
+
+-------------------------------------------------------------------

New:
----
  gnome-control-center-add-user-button.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-control-center.spec ++++++
--- /var/tmp/diff_new_pack.2Koy68/_old  2023-09-26 22:22:53.246419816 +0200
+++ /var/tmp/diff_new_pack.2Koy68/_new  2023-09-26 22:22:53.246419816 +0200
@@ -37,6 +37,8 @@
 
 # PATCH-NEEDS-REBASE gnome-control-center-disable-error-message-for-NM.patch 
bsc#989801 [email protected] -- 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
+# PATCH-FIX-UPSTREAM gnome-control-center-add-user-button.patch bsc#1215556 
glgo#GNOME/Settings!1927 [email protected] -- Show add user button
+Patch2:         gnome-control-center-add-user-button.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 [email protected] -- 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 @@
 %prep
 %setup -q
 #patch1 -p1
+%patch2 -p1
 
 # patches for Leap >= 15 plus SLE >= 15, but not TW
 %if 0%{?sle_version} >= 150000

++++++ gnome-control-center-add-user-button.patch ++++++
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);
 }

Reply via email to