From 43cf067cf2fedc4b0a29a5796bde915c3a708d5f Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 15 Jun 2012 18:45:41 +0200 Subject: [PATCH] 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 --- panels/user-accounts/um-utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/panels/user-accounts/um-utils.c b/panels/user-accounts/um-utils.c index 9c422449d..e72bbb177 100644 --- a/panels/user-accounts/um-utils.c +++ b/panels/user-accounts/um-utils.c @@ -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);