[anjuta] anjuta: reduce size of toolbar buttons to GTK_ICON_SIZE_MENU



commit 194bcb7b18a521ac175f1802370845962e8e31be
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date:   Thu Jan 31 10:44:48 2013 +0100

    anjuta: reduce size of toolbar buttons to GTK_ICON_SIZE_MENU

 src/anjuta-window.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/anjuta-window.c b/src/anjuta-window.c
index f736e5b..3f9439c 100644
--- a/src/anjuta-window.c
+++ b/src/anjuta-window.c
@@ -718,6 +718,8 @@ anjuta_window_instance_init (AnjutaWindow *win)
 		gtk_widget_hide (win->toolbar);
 	gtk_style_context_add_class (gtk_widget_get_style_context (win->toolbar),
 	                             GTK_STYLE_CLASS_PRIMARY_TOOLBAR);
+	gtk_toolbar_set_icon_size (GTK_TOOLBAR (win->toolbar),
+	                           GTK_ICON_SIZE_MENU);
 	gtk_box_pack_start (GTK_BOX (main_box), win->toolbar, FALSE, FALSE, 0);
 	action = gtk_ui_manager_get_action (GTK_UI_MANAGER (win->ui),
 										"/MenuMain/MenuView/Toolbar");



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