[gnome-music/wip/gbsneto/contained-playlists: 19/35] playlists: Remove :playlist-created signal
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/gbsneto/contained-playlists: 19/35] playlists: Remove :playlist-created signal
- Date: Tue, 6 Dec 2016 16:39:49 +0000 (UTC)
commit da49570230bc47fb7c873d75a0b1e5c67fb4cc67
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Nov 28 22:13:14 2016 +0100
playlists: Remove :playlist-created signal
This signal was completely replaced by :playlist-added and
we can now safely drop it.
gnomemusic/playlists.py | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gnomemusic/playlists.py b/gnomemusic/playlists.py
index c02aafd..441ac09 100644
--- a/gnomemusic/playlists.py
+++ b/gnomemusic/playlists.py
@@ -162,7 +162,6 @@ class StaticPlaylists:
class Playlists(GObject.GObject):
__gsignals__ = {
'playlist-added': (GObject.SignalFlags.RUN_FIRST, None, (Playlist,)),
- 'playlist-created': (GObject.SignalFlags.RUN_FIRST, None, (Grl.Media,)),
'playlist-deleted': (GObject.SignalFlags.RUN_FIRST, None, (Grl.Media,)),
'playlist-updated': (GObject.SignalFlags.RUN_FIRST, None, (int,)),
'song-added-to-playlist': (
@@ -381,8 +380,6 @@ class Playlists(GObject.GObject):
self.playlists.append(new_playlist)
self.emit('playlist-added', playlist)
- self.emit('playlist-created', item)
-
def cursor_callback(cursor, res, data):
try:
has_next = cursor.next_finish()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]