[gnome-music/wip/jfelder/selection-coresong-playlist] grltrackerplaylists: Do not bind selected property
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/selection-coresong-playlist] grltrackerplaylists: Do not bind selected property
- Date: Thu, 26 Mar 2020 14:10:02 +0000 (UTC)
commit 07d4dd644cf476e7c01be125029aee55be60d4c1
Author: Jean Felder <jfelder src gnome org>
Date: Thu Mar 26 14:57:59 2020 +0100
grltrackerplaylists: Do not bind selected property
This results in a wrong selection count because the same song is added
two times to the selected_items list of CoreSelection.
Besides, the songs of a playlist can not be selected. So, it is
pointless to bind this property.
Closes: #379
gnomemusic/grilowrappers/grltrackerplaylists.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/grilowrappers/grltrackerplaylists.py b/gnomemusic/grilowrappers/grltrackerplaylists.py
index 673fc90c..a44d762c 100644
--- a/gnomemusic/grilowrappers/grltrackerplaylists.py
+++ b/gnomemusic/grilowrappers/grltrackerplaylists.py
@@ -435,7 +435,7 @@ class Playlist(GObject.GObject):
properties = [
"album", "album_disc_number", "artist", "duration", "media",
"grlid", "play_count", "state", "title", "track_number", "url",
- "validation", "favorite", "selected"]
+ "validation", "favorite"]
for prop in properties:
main_coresong.bind_property(
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]