[nautilus] toolbar: set the icon size to SMALL_TOOLBAR



commit f6dc5f319fb79203bd7645e49420d2a4b57c0373
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Apr 25 17:04:58 2011 -0400

    toolbar: set the icon size to SMALL_TOOLBAR
    
    So that the Search button icon is drawn with a smaller size.

 src/nautilus-toolbar.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-toolbar.c b/src/nautilus-toolbar.c
index f367300..59824b7 100644
--- a/src/nautilus-toolbar.c
+++ b/src/nautilus-toolbar.c
@@ -103,6 +103,7 @@ nautilus_toolbar_constructed (GObject *obj)
 
 	toolbar = gtk_ui_manager_get_widget (self->priv->ui_manager, "/Toolbar");
 	self->priv->toolbar = toolbar;
+	gtk_toolbar_set_icon_size (GTK_TOOLBAR (toolbar), GTK_ICON_SIZE_SMALL_TOOLBAR);
 
 	context = gtk_widget_get_style_context (toolbar);
 	gtk_style_context_add_class (context, GTK_STYLE_CLASS_PRIMARY_TOOLBAR);



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