[easytag/wip/musicbrainz-support-appwin-merge: 45/49] Add "linked" class to BreadCrumbBox
- From: Abhinav Jangda <abhijangda src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/musicbrainz-support-appwin-merge: 45/49] Add "linked" class to BreadCrumbBox
- Date: Fri, 22 Aug 2014 15:31:17 +0000 (UTC)
commit 7b95263f9935c123f9615a076abb6cef86899a9e
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 f4bc0d4..dfebb8c 100644
--- a/src/mbentityview.c
+++ b/src/mbentityview.c
@@ -930,6 +930,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 (),
@@ -941,6 +942,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]