[gnome-music/wip/gbsneto/contained-playlists: 8/35] playlists: Make Playlist a GObject subclass
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/gbsneto/contained-playlists: 8/35] playlists: Make Playlist a GObject subclass
- Date: Tue, 6 Dec 2016 16:38:53 +0000 (UTC)
commit 2fa15c3b979d33bb6cd3e783112ed2c42cfcca8c
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Nov 28 18:11:07 2016 +0100
playlists: Make Playlist a GObject subclass
In the future, we may want to be able to use GObject capabilities
with the Playlist class, like signals and properties.
This commit then makes the Playlist class a GObject subclass.
gnomemusic/playlists.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/playlists.py b/gnomemusic/playlists.py
index 8bcef50..45bfd57 100644
--- a/gnomemusic/playlists.py
+++ b/gnomemusic/playlists.py
@@ -40,7 +40,7 @@ import logging
logger = logging.getLogger(__name__)
-class Playlist:
+class Playlist(GObject.Object):
""" Base class of static and intelligent playlists """
ID = None
QUERY = None
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]