[gnome-music/wip/mschraal/default-icon-cleanups: 18/24] disclistboxwidget: Remove custom style




commit 8c92632268b01885938c80b39599f7891d87e9fe
Author: Marinus Schraal <mschraal gnome org>
Date:   Sun Aug 22 00:10:30 2021 +0200

    disclistboxwidget: Remove custom style
    
    Music styling has changed, this is no longer relevant.

 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 3e82d10ac..ac2691df4 100644
--- a/data/org.gnome.Music.css
+++ b/data/org.gnome.Music.css
@@ -142,10 +142,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]