user-accounts: add positive confirmation to the password dialog
Add checkmarks, remove exclam icons, remove tooltips, change password hints and decrese timeout (by design). https://bugzilla.gnome.org/show_bug.cgi?id=702476
This commit is contained in:
parent
0395197d37
commit
aaf25450ee
5 changed files with 26 additions and 29 deletions
|
@ -300,6 +300,14 @@ set_entry_validation_error (GtkEntry *entry,
|
|||
text);
|
||||
}
|
||||
|
||||
void
|
||||
set_entry_validation_checkmark (GtkEntry *entry)
|
||||
{
|
||||
g_object_set (entry, "caps-lock-warning", FALSE, NULL);
|
||||
gtk_entry_set_icon_from_icon_name (entry, GTK_ENTRY_ICON_SECONDARY, "object-select-symbolic");
|
||||
gtk_entry_set_icon_activatable (entry, GTK_ENTRY_ICON_SECONDARY, FALSE);
|
||||
}
|
||||
|
||||
void
|
||||
clear_entry_validation_error (GtkEntry *entry)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue