[gnome-music/wip/gbsneto/contained-playlists: 1/29] 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: 1/29] playlists: Make Playlist a GObject subclass
- Date: Thu, 1 Dec 2016 23:25:39 +0000 (UTC)
commit 1a7e88ed4dc65282165261bcbe66b2703fd3a5ba
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 2a7f5cc..6aed885 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]