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



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

    Add "linked" class to BreadCrumbBox

 src/mbentityview.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/mbentityview.c b/src/mbentityview.c
index 45ab060..6cb8b05 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 (),
@@ -940,6 +941,8 @@ et_mb_entity_view_init (EtMbEntityView *entity_view)
 
     /* Adding child widgets */
     priv->bread_crumb_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2);
+    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]