[gnome-music/wip/gbsneto/contained-playlists: 4/29] playlists: Add ::is_static property to Playlist
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/gbsneto/contained-playlists: 4/29] playlists: Add ::is_static property to Playlist
- Date: Thu, 1 Dec 2016 23:25:54 +0000 (UTC)
commit 67ba744e3d2ce137c2e3ea19988882d787ad0d8d
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Nov 28 18:31:55 2016 +0100
playlists: Add ::is_static property to Playlist
So in the future we'll be able to know if the playlist
is static or not without having to ask any other classes
besides the playlist itself.
gnomemusic/playlists.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gnomemusic/playlists.py b/gnomemusic/playlists.py
index b1141f9..762f427 100644
--- a/gnomemusic/playlists.py
+++ b/gnomemusic/playlists.py
@@ -48,6 +48,7 @@ class Playlist(GObject.Object):
'query': (str, 'Query', 'query', '', GObject.ParamFlags.READWRITE),
'tag_text': (str, 'Tag', 'tag', '', GObject.ParamFlags.READWRITE),
'title': (str, 'Title', 'title', '', GObject.ParamFlags.READWRITE),
+ 'is_static': (bool, 'Is static', 'is static', False, GObject.ParamFlags.READWRITE),
}
@log
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]