[anjuta] Add primary toolbar style class to toolbar
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] Add primary toolbar style class to toolbar
- Date: Sun, 25 Sep 2011 13:32:35 +0000 (UTC)
commit 9883409dd210363bf9d3788bcaef8bebd81f15a4
Author: Arnel A. Borja <kyoushuu yahoo com>
Date: Sun Sep 25 19:56:20 2011 +0800
Add primary toolbar style class to toolbar
src/anjuta-app.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/anjuta-app.c b/src/anjuta-app.c
index 8308dad..2d371a2 100644
--- a/src/anjuta-app.c
+++ b/src/anjuta-app.c
@@ -662,6 +662,8 @@ anjuta_app_instance_init (AnjutaApp *app)
"/ToolbarMain");
if (!g_settings_get_boolean (app->settings, TOOLBAR_VISIBLE))
gtk_widget_hide (app->toolbar);
+ gtk_style_context_add_class (gtk_widget_get_style_context (app->toolbar),
+ GTK_STYLE_CLASS_PRIMARY_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");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]