[gnome-music/wip/mschraal/widget-assorted-fixes: 3/5] artistalbumswidget: Make row not activatable



commit 27edc3419c027d4ad78503d8a5d3ae479c750973
Author: Marinus Schraal <mschraal gnome org>
Date:   Tue Feb 18 13:36:30 2020 +0100

    artistalbumswidget: Make row not activatable

 gnomemusic/widgets/artistalbumswidget.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gnomemusic/widgets/artistalbumswidget.py b/gnomemusic/widgets/artistalbumswidget.py
index e87922da..158d9d9b 100644
--- a/gnomemusic/widgets/artistalbumswidget.py
+++ b/gnomemusic/widgets/artistalbumswidget.py
@@ -80,6 +80,7 @@ class ArtistAlbumsWidget(Gtk.ListBox):
     def _add_album(self, corealbum):
         row = Gtk.ListBoxRow()
         row.props.selectable = False
+        row.props.activatable = False
 
         widget = ArtistAlbumWidget(
             corealbum, self._selection_mode_allowed,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]