[gnome-music/wip/mschraal/core: 87/93] tracker: make sure added songs get notified
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/core: 87/93] tracker: make sure added songs get notified
- Date: Fri, 21 Jun 2019 22:48:00 +0000 (UTC)
commit 1d05a61ca09ec941c3cb0fd9d447314f88f33418
Author: Marinus Schraal <mschraal gnome org>
Date: Fri Jun 21 00:30:25 2019 +0200
tracker: make sure added songs get notified
gnomemusic/grilowrappers/grltrackersource.py | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gnomemusic/grilowrappers/grltrackersource.py b/gnomemusic/grilowrappers/grltrackersource.py
index 1bf23170..0ddf3eb6 100644
--- a/gnomemusic/grilowrappers/grltrackersource.py
+++ b/gnomemusic/grilowrappers/grltrackersource.py
@@ -110,6 +110,8 @@ class GrlTrackerSource(GObject.GObject):
self._model.append(song)
self._requery_media(media.get_id())
+ song.connect("notify::selected", self._core_selection.update_selection)
+
def _update_media(self, source, op_id, media, user_data, error):
if error:
print("ERROR", error)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]