[gnome-music/wip/jfelder/new-artist-design: 15/15] artistalbumswidget: Ensure that album rows cannot get focus
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/new-artist-design: 15/15] artistalbumswidget: Ensure that album rows cannot get focus
- Date: Fri, 13 Aug 2021 21:49:39 +0000 (UTC)
commit cf728b225b8409aab41e370dd59a67193aa8cb7c
Author: Jean Felder <jfelder src gnome org>
Date: Fri Aug 6 21:12:21 2021 +0200
artistalbumswidget: Ensure that album rows cannot get focus
This prevents the rows from being selectable.
gnomemusic/widgets/artistalbumswidget.py | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gnomemusic/widgets/artistalbumswidget.py b/gnomemusic/widgets/artistalbumswidget.py
index 7a5762582..c65dafa9e 100644
--- a/gnomemusic/widgets/artistalbumswidget.py
+++ b/gnomemusic/widgets/artistalbumswidget.py
@@ -61,6 +61,7 @@ class ArtistAlbumsWidget(Gtk.ListBox):
row = Gtk.ListBoxRow()
row.props.selectable = False
row.props.activatable = False
+ row.props.can_focus = False
widget = AlbumWidget(self._application)
widget.props.corealbum = corealbum
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]