[glade/internal-child-support] window: add a primary-toolbar style class to the toolbar



commit d74f2b1fdf6b3a9c9e22cd3859d8224898b8abbf
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Mar 24 20:22:57 2011 -0400

    window: add a primary-toolbar style class to the toolbar

 ChangeLog          |    4 ++++
 src/glade-window.c |    2 ++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 5db0d92..0204dfe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-24  Cosimo Cecchi <cosimoc gnome org>
+
+	* src/glade-window.c: add a primary-toolbar style class to the toolbar
+
 2011-03-15  Juan Pablo Ugarte <juanpablougarte gmail com>
 
 	* gladeui/glade-design-layout.c: fixed allocation bug.
diff --git a/src/glade-window.c b/src/glade-window.c
index 172f88c..7c130f9 100644
--- a/src/glade-window.c
+++ b/src/glade-window.c
@@ -3362,6 +3362,8 @@ glade_window_init (GladeWindow * window)
 
   /* toolbar */
   priv->toolbar = gtk_ui_manager_get_widget (priv->ui, "/ToolBar");
+  gtk_style_context_add_class (gtk_widget_get_style_context (priv->toolbar),
+                               GTK_STYLE_CLASS_PRIMARY_TOOLBAR);
   gtk_box_pack_start (GTK_BOX (vbox), priv->toolbar, FALSE, TRUE, 0);
   gtk_widget_show (priv->toolbar);
 



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