[gnome-music/wip/jfelder/playlists-core-rewrite-prep-work: 22/24] playlists: Remove unused signals
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/playlists-core-rewrite-prep-work: 22/24] playlists: Remove unused signals
- Date: Wed, 3 Jul 2019 16:49:41 +0000 (UTC)
commit 4b24b7fcf585da00249ccffdcc8fc442167236bd
Author: Jean Felder <jfelder src gnome org>
Date: Mon Jul 1 23:40:11 2019 +0200
playlists: Remove unused signals
playlist-created and playlist-deleted signals are not used anymore.
gnomemusic/playlists.py | 6 ------
1 file changed, 6 deletions(-)
---
diff --git a/gnomemusic/playlists.py b/gnomemusic/playlists.py
index fb0936e0..d736119d 100644
--- a/gnomemusic/playlists.py
+++ b/gnomemusic/playlists.py
@@ -160,10 +160,6 @@ class Playlists(GObject.GObject):
__gsignals__ = {
"activate-playlist": (
GObject.SignalFlags.RUN_FIRST, None, (Playlist,)),
- 'playlist-created': (
- GObject.SignalFlags.RUN_FIRST, None, (Grl.Media,)
- ),
- "playlist-deleted": (GObject.SignalFlags.RUN_FIRST, None, (str,)),
"playlist-updated": (GObject.SignalFlags.RUN_FIRST, None, (Playlist,)),
"playlist-renamed": (GObject.SignalFlags.RUN_FIRST, None, (Playlist,)),
'song-added-to-playlist': (
@@ -417,7 +413,6 @@ class Playlists(GObject.GObject):
creation_date=item.get_creation_date())
self._model.insert_sorted(
new_playlist, Playlist.compare_playlist_func)
- self.emit("playlist-created", item)
callback(new_playlist)
def cursor_callback(cursor, res, data):
@@ -475,7 +470,6 @@ class Playlists(GObject.GObject):
"""
def update_callback(conn, res, data):
conn.update_finish(res)
- self.emit("playlist-deleted", playlist.props.pl_id)
self._pls_todelete.remove(playlist)
query = Query.delete_playlist(playlist.props.pl_id)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]