[gnome-control-center] user-accounts: Use the symbolic error icon in entries



commit 43cf067cf2fedc4b0a29a5796bde915c3a708d5f
Author: Stef Walter <stefw gnome org>
Date:   Fri Jun 15 18:45:41 2012 +0200

    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 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/panels/user-accounts/um-utils.c b/panels/user-accounts/um-utils.c
index 9c42244..e72bbb1 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]