[gnome-music/wip/mschraal/view-styling-fixes: 16/16] disclistboxwidget: Drop custom CSS
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/view-styling-fixes: 16/16] disclistboxwidget: Drop custom CSS
- Date: Sun, 23 May 2021 10:37:57 +0000 (UTC)
commit 149ba9720addaed1ed3167f0af03efa71b5e1331
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 fcf07351f..02514d524 100644
--- a/data/org.gnome.Music.css
+++ b/data/org.gnome.Music.css
@@ -141,10 +141,6 @@ list {
background-color: transparent;
}
-.disc-list-box > row {
-padding: 0px;
-}
-
.content > row:selected {
background-color: @theme_base_color;
color: @theme_fg_color;
diff --git a/gnomemusic/widgets/disclistboxwidget.py b/gnomemusic/widgets/disclistboxwidget.py
index 77ee0d871..c0c3fda0a 100644
--- a/gnomemusic/widgets/disclistboxwidget.py
+++ b/gnomemusic/widgets/disclistboxwidget.py
@@ -137,7 +137,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]