[gnome-music/wip/mschraal/view-styling-fixes: 7/7] disclistboxwidget: Drop custom CSS




commit d152d8d706238bb88df4abce4bb78e9b85b5de1b
Author: Marinus Schraal <mschraal gnome org>
Date:   Sun May 23 11:30:25 2021 +0200

    disclistboxwidget: Drop custom CSS

 data/org.gnome.Music.css                | 4 ----
 gnomemusic/widgets/disclistboxwidget.py | 1 -
 2 files changed, 5 deletions(-)
---
diff --git a/data/org.gnome.Music.css b/data/org.gnome.Music.css
index 2965ba499..624613597 100644
--- a/data/org.gnome.Music.css
+++ b/data/org.gnome.Music.css
@@ -127,10 +127,6 @@ list {
     background-color: transparent;
 }
 
-.disc-list-box > row {
-padding: 0px;
-}
-
 .playlistdialog-row:selected {
     color: @theme_fg_color;
     background-color: @theme_insensitive_bg_color;
diff --git a/gnomemusic/widgets/disclistboxwidget.py b/gnomemusic/widgets/disclistboxwidget.py
index c7c3f1775..251c2c1cd 100644
--- a/gnomemusic/widgets/disclistboxwidget.py
+++ b/gnomemusic/widgets/disclistboxwidget.py
@@ -167,7 +167,6 @@ class DiscListBox(Gtk.ListBox):
         super().__init__()
 
         self.props.valign = Gtk.Align.START
-        self.get_style_context().add_class("disc-list-box")
 
     def select_all(self):
         """Select all songs"""


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