[gnome-music/wip/jfelder/playlists-core-rewrite-prep-work: 2/21] playlists: Remove unused signal song-removed-from-playlist
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/playlists-core-rewrite-prep-work: 2/21] playlists: Remove unused signal song-removed-from-playlist
- Date: Tue, 2 Jul 2019 08:54:36 +0000 (UTC)
commit 217d362fa6c91dbbe6e2e4979e49244e5f22d6c0
Author: Jean Felder <jfelder src gnome org>
Date: Mon Jul 1 16:37:09 2019 +0200
playlists: Remove unused signal song-removed-from-playlist
A playlist song can only be removed from the PlaylistsView and it
handles all the logic internally. There is no need to expose this
signal.
gnomemusic/playlists.py | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/gnomemusic/playlists.py b/gnomemusic/playlists.py
index 2599d940..60fa7611 100644
--- a/gnomemusic/playlists.py
+++ b/gnomemusic/playlists.py
@@ -124,9 +124,6 @@ class Playlists(GObject.GObject):
'song-added-to-playlist': (
GObject.SignalFlags.RUN_FIRST, None, (Grl.Media, Grl.Media)
),
- 'song-removed-from-playlist': (
- GObject.SignalFlags.RUN_FIRST, None, (Grl.Media, Grl.Media)
- ),
}
instance = None
@@ -414,7 +411,6 @@ class Playlists(GObject.GObject):
def remove_from_playlist(self, playlist, items):
def update_callback(conn, res, data):
conn.update_finish(res)
- self.emit('song-removed-from-playlist', playlist, data)
playlist_id = playlist.get_id()
for item in items:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]