[gnome-music/wip/mschraal/view-styling-fixes: 67/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: 67/69] songsview: Drop default style class
- Date: Wed, 11 Aug 2021 23:04:24 +0000 (UTC)
commit e5e09c48a6bb3d613eef1e9c0c57eba6dbe5ab67
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]