user-accounts: Add password generation back to the password dialog

https://bugzilla.gnome.org/show_bug.cgi?id=706067
This commit is contained in:
Ondrej Holy 2013-08-06 15:43:23 +02:00 committed by Stef Walter
parent 12da80928e
commit a3d0840bdd
3 changed files with 40 additions and 1 deletions

View file

@ -300,6 +300,14 @@ set_entry_validation_error (GtkEntry *entry,
text);
}
void
set_entry_generation_icon (GtkEntry *entry)
{
g_object_set (entry, "caps-lock-warning", FALSE, NULL);
gtk_entry_set_icon_from_icon_name (entry, GTK_ENTRY_ICON_SECONDARY, "system-run-symbolic");
gtk_entry_set_icon_activatable (entry, GTK_ENTRY_ICON_SECONDARY, TRUE);
}
void
set_entry_validation_checkmark (GtkEntry *entry)
{