user-accounts: Use the symbolic error icon in entries
Use the symbolic error icon when entries as indication when entries don't validate. https://bugzilla.gnome.org/show_bug.cgi?id=678178
This commit is contained in:
parent
a9ebbaa4a8
commit
43cf067cf2
1 changed files with 3 additions and 3 deletions
|
@ -280,9 +280,9 @@ set_entry_validation_error (GtkEntry *entry,
|
||||||
const gchar *text)
|
const gchar *text)
|
||||||
{
|
{
|
||||||
g_object_set (entry, "caps-lock-warning", FALSE, NULL);
|
g_object_set (entry, "caps-lock-warning", FALSE, NULL);
|
||||||
gtk_entry_set_icon_from_stock (entry,
|
gtk_entry_set_icon_from_icon_name (entry,
|
||||||
GTK_ENTRY_ICON_SECONDARY,
|
GTK_ENTRY_ICON_SECONDARY,
|
||||||
GTK_STOCK_DIALOG_ERROR);
|
"dialog-error-symbolic");
|
||||||
gtk_entry_set_icon_activatable (entry,
|
gtk_entry_set_icon_activatable (entry,
|
||||||
GTK_ENTRY_ICON_SECONDARY,
|
GTK_ENTRY_ICON_SECONDARY,
|
||||||
TRUE);
|
TRUE);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue