[gnome-music/wip/mschraal/core: 41/92] coresong: favorite is a bool
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/core: 41/92] coresong: favorite is a bool
- Date: Mon, 17 Jun 2019 22:50:23 +0000 (UTC)
commit 7d4e5a66e734e557b6bc2835e482c6a7f2086d20
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]