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




commit be3e32489af4b9ccee44ba7f983e3d4dcd63d4fd
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 83469f65e..69d679088 100644
--- a/data/org.gnome.Music.css
+++ b/data/org.gnome.Music.css
@@ -140,10 +140,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 09f490e29..11b48fa79 100644
--- a/gnomemusic/widgets/disclistboxwidget.py
+++ b/gnomemusic/widgets/disclistboxwidget.py
@@ -148,7 +148,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]