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:
Stef Walter 2012-06-15 18:45:41 +02:00
parent a9ebbaa4a8
commit 43cf067cf2

View file

@ -280,9 +280,9 @@ set_entry_validation_error (GtkEntry *entry,
const gchar *text)
{
g_object_set (entry, "caps-lock-warning", FALSE, NULL);
gtk_entry_set_icon_from_stock (entry,
GTK_ENTRY_ICON_SECONDARY,
GTK_STOCK_DIALOG_ERROR);
gtk_entry_set_icon_from_icon_name (entry,
GTK_ENTRY_ICON_SECONDARY,
"dialog-error-symbolic");
gtk_entry_set_icon_activatable (entry,
GTK_ENTRY_ICON_SECONDARY,
TRUE);