[rhythmbox] display-page-tree: apply the sidebar style class to the right thing
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] display-page-tree: apply the sidebar style class to the right thing
- Date: Sat, 14 Mar 2015 09:18:31 +0000 (UTC)
commit dbf7175541f4bfffd8f369ef059a4ddd84cb8e6c
Author: Jonathan Matthew <jonathan d14n org>
Date: Sat Mar 14 18:32:37 2015 +1000
display-page-tree: apply the sidebar style class to the right thing
sources/rb-display-page-tree.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/sources/rb-display-page-tree.c b/sources/rb-display-page-tree.c
index df3b818..46da6da 100644
--- a/sources/rb-display-page-tree.c
+++ b/sources/rb-display-page-tree.c
@@ -803,8 +803,6 @@ impl_constructed (GObject *object)
RB_CHAIN_GOBJECT_METHOD (rb_display_page_tree_parent_class, constructed, object);
display_page_tree = RB_DISPLAY_PAGE_TREE (object);
- gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (object)),
- GTK_STYLE_CLASS_SIDEBAR);
scrolled = gtk_scrolled_window_new (NULL, NULL);
context = gtk_widget_get_style_context (scrolled);
@@ -828,6 +826,7 @@ impl_constructed (GObject *object)
display_page_tree, 0);
display_page_tree->priv->treeview = gtk_tree_view_new_with_model (GTK_TREE_MODEL
(display_page_tree->priv->page_model));
+ gtk_style_context_add_class (gtk_widget_get_style_context (display_page_tree->priv->treeview),
GTK_STYLE_CLASS_SIDEBAR);
g_object_set (display_page_tree->priv->treeview,
"headers-visible", FALSE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]