[gnome-control-center/useraccounts-fixups: 2/2] user-accounts: Only set "Add User" visibility when permission changed



commit f968374b2295de8ddb9fab72457783acc83253ff
Author: Felipe Borges <felipeborges gnome org>
Date:   Tue Feb 11 14:16:00 2020 +0100

    user-accounts: Only set "Add User" visibility when permission changed
    
    To avoid showing and hiding rapidly.
    
    See #859

 panels/user-accounts/cc-user-panel.ui | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/panels/user-accounts/cc-user-panel.ui b/panels/user-accounts/cc-user-panel.ui
index 217c247a8..84f4b5aa8 100644
--- a/panels/user-accounts/cc-user-panel.ui
+++ b/panels/user-accounts/cc-user-panel.ui
@@ -1,6 +1,6 @@
 <interface>
   <object class="GtkButton" id="add_user_button">
-    <property name="visible">True</property>
+    <property name="visible">False</property>
     <property name="can_focus">True</property>
     <property name="label" translatable="yes">_Add User…</property>
     <property name="use_underline">True</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]