[libgd] GdHeaderBar: use header-bar style class instead of primary-toolbar



commit 1098bdd6835baf4cd0342eca686528024d6c0839
Author: William Jon McCann <jmccann redhat com>
Date:   Sun Feb 17 14:24:23 2013 -0500

    GdHeaderBar: use header-bar style class instead of primary-toolbar

 libgd/gd-header-bar.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libgd/gd-header-bar.c b/libgd/gd-header-bar.c
index 31a9f60..6062f32 100644
--- a/libgd/gd-header-bar.c
+++ b/libgd/gd-header-bar.c
@@ -104,8 +104,7 @@ gd_header_bar_init (GdHeaderBar *bar)
   priv->vpadding = DEFAULT_VPADDING;
 
   context = gtk_widget_get_style_context (GTK_WIDGET (bar));
-  gtk_style_context_add_class (context, GTK_STYLE_CLASS_TOOLBAR);
-  gtk_style_context_add_class (context, GTK_STYLE_CLASS_PRIMARY_TOOLBAR);
+  gtk_style_context_add_class (context, "header-bar");
   gtk_style_context_add_class (context, GTK_STYLE_CLASS_HORIZONTAL);
 }
 


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