[gnome-music/wip/mschraal/view-styling-fixes: 68/69] songsview: Drop default style class
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/view-styling-fixes: 68/69] songsview: Drop default style class
- Date: Sun, 29 Aug 2021 20:43:38 +0000 (UTC)
commit b847f2501c3cf7c73435e26a0fba26725c737f06
Author: Marinus Schraal <mschraal gnome org>
Date: Thu Aug 12 00:43:02 2021 +0200
songsview: Drop default style class
The default .view style class makes SongsView differ from the other
views, drop it.
gnomemusic/views/songsview.py | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/gnomemusic/views/songsview.py b/gnomemusic/views/songsview.py
index ee7752ee4..5527a8e29 100644
--- a/gnomemusic/views/songsview.py
+++ b/gnomemusic/views/songsview.py
@@ -65,6 +65,9 @@ class SongsView(Gtk.ScrolledWindow):
self._window = application.props.window
self._coremodel = application.props.coremodel
+ ctx = self._songs_view.get_style_context()
+ ctx.remove_class("view")
+
self._iter_to_clean = None
self._set_list_renderers()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]