[gnome-music/wip/jfelder/new-album-design-v3: 1/9] albumwidget: Fix song activation return values
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/new-album-design-v3: 1/9] albumwidget: Fix song activation return values
- Date: Fri, 30 Jul 2021 14:55:01 +0000 (UTC)
commit 37bf6c9f4d917974a4fdbe4e2f0ed973f1a77215
Author: Jean Felder <jfelder src gnome org>
Date: Fri Jul 30 16:01:33 2021 +0200
albumwidget: Fix song activation return values
gnomemusic/widgets/albumwidget.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gnomemusic/widgets/albumwidget.py b/gnomemusic/widgets/albumwidget.py
index 60e5ba15b..2671e4567 100644
--- a/gnomemusic/widgets/albumwidget.py
+++ b/gnomemusic/widgets/albumwidget.py
@@ -24,7 +24,7 @@
from gettext import ngettext
-from gi.repository import GObject, Gtk
+from gi.repository import GLib, GObject, Gtk
from gnomemusic.corealbum import CoreAlbum
from gnomemusic.utils import ArtSize
@@ -157,7 +157,7 @@ class AlbumWidget(Gtk.Box):
def _song_activated(self, widget, song_widget):
if self.props.selection_mode:
song_widget.props.selected = not song_widget.props.selected
- return
+ return GLib.SOURCE_CONTINUE
signal_id = None
@@ -169,7 +169,7 @@ class AlbumWidget(Gtk.Box):
"playlist-loaded", _on_playlist_loaded)
self._coremodel.props.active_core_object = self._corealbum
- return True
+ return GLib.SOURCE_CONTINUE
def select_all(self):
self._disc_list_box.select_all()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]