[rhythmbox] Set the junction sides correctly
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] Set the junction sides correctly
- Date: Mon, 15 Apr 2013 07:15:17 +0000 (UTC)
commit e65a099056638d91ad2dfb7b9a866ee5d5e28dbe
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Apr 15 09:14:51 2013 +0200
Set the junction sides correctly
sources/rb-display-page-tree.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/sources/rb-display-page-tree.c b/sources/rb-display-page-tree.c
index d2dd045..238aa3e 100644
--- a/sources/rb-display-page-tree.c
+++ b/sources/rb-display-page-tree.c
@@ -892,6 +892,8 @@ impl_constructed (GObject *object)
GTK_STYLE_CLASS_SIDEBAR);
scrolled = gtk_scrolled_window_new (NULL, NULL);
+ context = gtk_widget_get_style_context (scrolled);
+ gtk_style_context_set_junction_sides (context, GTK_JUNCTION_BOTTOM);
g_object_set (scrolled,
"hscrollbar_policy", GTK_POLICY_AUTOMATIC,
"vscrollbar_policy", GTK_POLICY_AUTOMATIC,
@@ -1032,7 +1034,7 @@ impl_constructed (GObject *object)
gtk_toolbar_set_icon_size (GTK_TOOLBAR (display_page_tree->priv->toolbar), GTK_ICON_SIZE_MENU);
context = gtk_widget_get_style_context (display_page_tree->priv->toolbar);
- gtk_style_context_set_junction_sides (context, GTK_JUNCTION_BOTTOM);
+ gtk_style_context_set_junction_sides (context, GTK_JUNCTION_TOP);
gtk_style_context_add_class (context, GTK_STYLE_CLASS_INLINE_TOOLBAR);
gtk_grid_attach (GTK_GRID (display_page_tree), display_page_tree->priv->toolbar, 0, 1, 1, 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]