[gnome-music/wip/jfelder/playlists-core-rewrite-prep-work: 19/21] 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: 19/21] playlists: Remove unused signals
- Date: Tue, 2 Jul 2019 08:56:01 +0000 (UTC)
commit a33b9abb4f3aa08f1af2006f47c2a207b212817d
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 15501549..af640cf3 100644
--- a/gnomemusic/playlists.py
+++ b/gnomemusic/playlists.py
@@ -158,10 +158,6 @@ class Playlists(GObject.GObject):
__gsignals__ = {
'activate-playlist': (GObject.SignalFlags.RUN_FIRST, None, (str,)),
- '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': (
@@ -420,7 +416,6 @@ class Playlists(GObject.GObject):
creation_date=item.get_creation_date())
self._playlists_model.insert_sorted(
new_playlist, Playlist.compare_playlist_func)
- self.emit('playlist-created', item)
callback(new_playlist)
def cursor_callback(cursor, res, data):
@@ -478,7 +473,6 @@ class Playlists(GObject.GObject):
"""
def update_callback(conn, res, data):
conn.update_finish(res)
- self.emit('playlist-deleted', playlist.props.id_)
self._pls_todelete.remove(playlist)
query = Query.delete_playlist(playlist.props.id_)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]