[nautilus] location-entry: use symbolic icons for the secondary action hint



commit c17d7bec375b1a8838d6132ccced89da6b092316
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon May 23 10:51:25 2011 -0400

    location-entry: use symbolic icons for the secondary action hint
    
    https://bugzilla.gnome.org/show_bug.cgi?id=647685

 src/nautilus-location-entry.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/nautilus-location-entry.c b/src/nautilus-location-entry.c
index 97bd556..9f0d6bf 100644
--- a/src/nautilus-location-entry.c
+++ b/src/nautilus-location-entry.c
@@ -391,14 +391,14 @@ nautilus_location_entry_set_secondary_action (NautilusLocationEntry *entry,
 	}
 	switch (secondary_action) {
 	case NAUTILUS_LOCATION_ENTRY_ACTION_CLEAR:
-		gtk_entry_set_icon_from_stock (GTK_ENTRY (entry), 
-					       GTK_ENTRY_ICON_SECONDARY,
-					       GTK_STOCK_CLEAR);
+		gtk_entry_set_icon_from_icon_name (GTK_ENTRY (entry), 
+						   GTK_ENTRY_ICON_SECONDARY,
+						   "edit-clear-symbolic");
 		break;
 	case NAUTILUS_LOCATION_ENTRY_ACTION_GOTO:
-		gtk_entry_set_icon_from_stock (GTK_ENTRY (entry),
-					       GTK_ENTRY_ICON_SECONDARY,
-					       GTK_STOCK_GO_FORWARD);
+		gtk_entry_set_icon_from_icon_name (GTK_ENTRY (entry),
+						   GTK_ENTRY_ICON_SECONDARY,
+						   "go-next-symbolic");
 		break;
 	default:
 		g_assert_not_reached ();



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