From d586df5c87597c3894419e73e724bcd782e9fc03 Mon Sep 17 00:00:00 2001 From: Felipe Borges Date: Wed, 21 Dec 2022 11:39:18 +0100 Subject: user-accounts: Add a popover describing the autologin functionality Fixes #2235 --- panels/user-accounts/cc-user-panel.c | 2 ++ panels/user-accounts/cc-user-panel.ui | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/panels/user-accounts/cc-user-panel.c b/panels/user-accounts/cc-user-panel.c index a779089a2..9da437a3d 100644 --- a/panels/user-accounts/cc-user-panel.c +++ b/panels/user-accounts/cc-user-panel.c @@ -44,6 +44,7 @@ #endif #include "cc-list-row.h" +#include "cc-list-row-info-button.h" #include "cc-add-user-dialog.h" #include "cc-avatar-chooser.h" #include "cc-language-chooser.h" @@ -1473,6 +1474,7 @@ cc_user_panel_init (CcUserPanel *self) type = cc_permission_infobar_get_type (); g_type_ensure (CC_TYPE_AVATAR_CHOOSER); g_type_ensure (CC_TYPE_LIST_ROW); + g_type_ensure (CC_TYPE_LIST_ROW_INFO_BUTTON); gtk_widget_init_template (GTK_WIDGET (self)); diff --git a/panels/user-accounts/cc-user-panel.ui b/panels/user-accounts/cc-user-panel.ui index 1e0e1d5b4..4304ad3f8 100644 --- a/panels/user-accounts/cc-user-panel.ui +++ b/panels/user-accounts/cc-user-panel.ui @@ -211,7 +211,13 @@ A_utomatic Login True autologin_switch - + + + center + Automatic login opens the user account when the device starts, without requiring authentication. Authentication is still required at other times, such as when unlocking the screen. + + + center -- cgit v1.2.1