[gnome-music/wip/mschraal/core: 16/190] coresong: favorite is a bool
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/core: 16/190] coresong: favorite is a bool
- Date: Sun, 7 Jul 2019 21:34:45 +0000 (UTC)
commit 38a8995c68ce9be044d5f0f370b4763297c1e0c8
Author: Marinus Schraal <mschraal gnome org>
Date: Wed May 8 22:04:03 2019 +0200
coresong: favorite is a bool
gnomemusic/coresong.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/coresong.py b/gnomemusic/coresong.py
index b0c5000b..94fdd1d5 100644
--- a/gnomemusic/coresong.py
+++ b/gnomemusic/coresong.py
@@ -14,7 +14,7 @@ class CoreSong(GObject.GObject):
album_disc_number = GObject.Property(type=int)
artist = GObject.Property(type=str)
duration = GObject.Property(type=int)
- favorite = GObject.Property(type=int)
+ favorite = GObject.Property(type=bool, default=False)
play_count = GObject.Property(type=int)
title = GObject.Property(type=str)
track_number = GObject.Property(type=int)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]