[gnome-music/wip/gbsneto/contained-playlists: 11/35] playlists: Add ::is_static property to Playlist



commit c48a14a5a1d6a9d06b1112f2cd8641f80c16b9ce
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 bf2e93a..cf3d688 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]