[nautilus] toolbar: fix a copy/paste typo



commit 55a6e553c3c804bdfc19133fcc7ae1b038f81efe
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Jul 25 05:36:37 2012 -0400

    toolbar: fix a copy/paste typo
    
    We should be using the provided icon name, not hardcoding the gear icon
    again.

 src/nautilus-toolbar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-toolbar.c b/src/nautilus-toolbar.c
index 1492faa..9daf1a2 100644
--- a/src/nautilus-toolbar.c
+++ b/src/nautilus-toolbar.c
@@ -113,7 +113,7 @@ toolbar_create_toolbutton (NautilusToolbar *self,
 	gtk_button_set_image (GTK_BUTTON (button), image);
 
 	if (create_menu) {
-		gtk_image_set_from_icon_name (GTK_IMAGE (image), "emblem-system-symbolic",
+		gtk_image_set_from_icon_name (GTK_IMAGE (image), name,
 					      GTK_ICON_SIZE_MENU);
 	} else {
 		action = gtk_action_group_get_action (self->priv->action_group, name);



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