[rhythmbox] play-queue: fix the border on the side pane view a bit better



commit caa80e36df9472f7a4ea79eedec999d6ed8666d7
Author: Jonathan Matthew <jonathan d14n org>
Date:   Mon Mar 16 20:50:30 2015 +1000

    play-queue: fix the border on the side pane view a bit better
    
    We need a border at the bottom to match everything else.

 data/ui/style.css              |    4 ++++
 sources/rb-play-queue-source.c |    4 +++-
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/data/ui/style.css b/data/ui/style.css
index f498b1c..e1b89f1 100644
--- a/data/ui/style.css
+++ b/data/ui/style.css
@@ -3,6 +3,10 @@
        border-radius: 0;
 }
 
+.sidebar-queue {
+       border-width: 0 0 1px 0;
+}
+
 .primary-toolbar {
        border-width: 1px 0 1px;
        border-style: solid;
diff --git a/sources/rb-play-queue-source.c b/sources/rb-play-queue-source.c
index 0ba9c86..1ae03d7 100644
--- a/sources/rb-play-queue-source.c
+++ b/sources/rb-play-queue-source.c
@@ -278,8 +278,10 @@ rb_play_queue_source_constructed (GObject *object)
 
        g_object_set (priv->sidebar,
                      "vscrollbar-policy", GTK_POLICY_AUTOMATIC,
-                     "shadow-type", GTK_SHADOW_NONE,
+                     "shadow-type", GTK_SHADOW_IN,
                      NULL);
+       gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (priv->sidebar)),
+                                    "sidebar-queue");
 
        priv->sidebar_column = gtk_tree_view_column_new ();
        renderer = gtk_cell_renderer_text_new ();


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