Commit 1587911b authored by Maxim Ermilov's avatar Maxim Ermilov Committed by Johannes Schmid

reviewed by: Johannes Schmid <jhs@gnome.org>

2009-03-30  Maxim Ermilov <zaspire@rambler.ru>

	reviewed by: Johannes Schmid  <jhs@gnome.org>

	* src/anjuta-app.c (anjuta_app_instance_init):
	#574711 – Menu Toolbar unchecked at the first time while toolbar shown

svn path=/trunk/; revision=4913
parent 99581c49
2009-03-30 Maxim Ermilov <zaspire@rambler.ru>
reviewed by: Johannes Schmid <jhs@gnome.org>
* src/anjuta-app.c (anjuta_app_instance_init):
#574711 – Menu Toolbar unchecked at the first time while toolbar shown
2009-03-30 Johannes Schmid <jhs@gnome.org>
Patch from Maxim Ermilov <zaspire@rambler.ru>:
......@@ -457,6 +457,8 @@ anjuta_app_instance_init (AnjutaApp *app)
/* create toolbar */
app->toolbar = gtk_ui_manager_get_widget (GTK_UI_MANAGER (app->ui),
"/ToolbarMain");
if (!anjuta_preferences_get_bool (app->preferences, "anjuta.toolbar.visible"))
gtk_widget_hide (app->toolbar);
gtk_box_pack_start (GTK_BOX (main_box), app->toolbar, FALSE, FALSE, 0);
action = gtk_ui_manager_get_action (GTK_UI_MANAGER (app->ui),
"/MenuMain/MenuView/Toolbar");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment