[easytag/wip/musicbrainz-support-merge: 46/51] Add "linked" class to BreadCrumbBox



commit 71f3e7703940a1d628b0ad08f873bfe9a0585100
Author: Abhinav <abhijangda hotmail com>
Date:   Fri Aug 15 20:22:42 2014 +0530

    Add "linked" class to BreadCrumbBox

 src/mbentityview.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/mbentityview.c b/src/mbentityview.c
index 45ab060..7e99944 100644
--- a/src/mbentityview.c
+++ b/src/mbentityview.c
@@ -929,6 +929,7 @@ static void
 et_mb_entity_view_init (EtMbEntityView *entity_view)
 {
     EtMbEntityViewPrivate *priv;
+    GtkStyleContext *context;
     
     priv = entity_view->priv = G_TYPE_INSTANCE_GET_PRIVATE (entity_view,
                                                             et_mb_entity_view_get_type (),
@@ -939,7 +940,9 @@ et_mb_entity_view_init (EtMbEntityView *entity_view)
                                     GTK_ORIENTATION_VERTICAL);
 
     /* Adding child widgets */
-    priv->bread_crumb_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2);
+    priv->bread_crumb_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
+    context = gtk_widget_get_style_context (priv->bread_crumb_box);
+    gtk_style_context_add_class (context, GTK_STYLE_CLASS_LINKED);
     priv->tree_view = gtk_tree_view_new ();
     priv->scrolled_window = gtk_scrolled_window_new (NULL, NULL);
     gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (priv->scrolled_window),


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