[gnome-control-center] user-accounts: Make infobar label more relevant



commit a9bb55c3c4ee6c0fa4eb5be5743fc83d0d5390ac
Author: Philip Withnall <pwithnall endlessos org>
Date:   Tue Dec 8 18:35:09 2020 +0000

    user-accounts: Make infobar label more relevant
    
    Highlight that the panel needs to be unlocked in order to add new users.
    Currently, while the panel is locked, it’s not at all obvious how to add
    new users.
    
    In particular, this helps improve the flow from the parental controls
    application, which opens g-c-c to allow new users to be added.
    
    See: https://gitlab.freedesktop.org/pwithnall/malcontent/-/issues/26#note_705945
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 panels/user-accounts/cc-user-panel.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/panels/user-accounts/cc-user-panel.c b/panels/user-accounts/cc-user-panel.c
index c6d2fcb74..f096c088d 100644
--- a/panels/user-accounts/cc-user-panel.c
+++ b/panels/user-accounts/cc-user-panel.c
@@ -1564,6 +1564,7 @@ cc_user_panel_constructed (GObject *object)
         cc_shell_embed_widget_in_header (shell, GTK_WIDGET (self->add_user_button), GTK_POS_RIGHT);
 
         cc_permission_infobar_set_permission (self->permission_infobar, self->permission);
+        cc_permission_infobar_set_title (self->permission_infobar, _("Unlock to Add Users and Change 
Settings"));
 }
 
 static void


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