[gnome-music] artists: restore artists list background



commit 19618822e4352b61ac26a2c7aaa45ca40c6d2b30
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Mon Feb 16 17:15:06 2015 +0100

    artists: restore artists list background

 data/application.css |    2 +-
 gnomemusic/view.py   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/application.css b/data/application.css
index d28faad..c7f2e0d 100644
--- a/data/application.css
+++ b/data/application.css
@@ -144,7 +144,7 @@ GtkTreeView{
 .music-albuminfo-album {
     font-size: 14px;
     font-weight: bold;
-    color: mix (@theme_fg_color, @theme_bg_color, 0.50);    
+    color: mix (@theme_fg_color, @theme_bg_color, 0.50);
 }
 
 .content-view { background-color: @theme_bg; }
\ No newline at end of file
diff --git a/gnomemusic/view.py b/gnomemusic/view.py
index 5a7ce9d..1fb8262 100644
--- a/gnomemusic/view.py
+++ b/gnomemusic/view.py
@@ -580,11 +580,11 @@ class Artists (ViewContainer):
         self.artistAlbumsStack.add_named(self._artistAlbumsWidget, "sidebar")
         self.artistAlbumsStack.set_visible_child_name("sidebar")
         self.view.set_hexpand(False)
-        self.view.get_style_context().add_class('artist-panel')
         self.view.get_generic_view().get_selection().set_mode(
             Gtk.SelectionMode.SINGLE)
         self._grid.attach(self.artistAlbumsStack, 2, 0, 2, 2)
         self._add_list_renderers()
+        self.view.get_generic_view().get_style_context().remove_class('content-view')
         if (Gtk.Settings.get_default().get_property(
                 'gtk_application_prefer_dark_theme')):
             self.view.get_generic_view().get_style_context().\


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