[gnome-music/wip/jfelder/player-remove-prev-next-invalidated: 6/6] player: Remove prev-next-invalidated signal
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/player-remove-prev-next-invalidated: 6/6] player: Remove prev-next-invalidated signal
- Date: Tue, 23 Apr 2019 23:05:38 +0000 (UTC)
commit dc0a7161ce15a2aa660c48ec1cdc301e656f56ae
Author: Jean Felder <jfelder src gnome org>
Date: Wed Apr 24 00:37:26 2019 +0200
player: Remove prev-next-invalidated signal
With the previous changes to PlayerToolbar and MPRIS, all the previous
use cases of "prev-next-invalidated" signal are now either covered by
"playlist-changed" or the repeat-mode changes.
gnomemusic/player.py | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/gnomemusic/player.py b/gnomemusic/player.py
index 28b584d9..ba599b8f 100644
--- a/gnomemusic/player.py
+++ b/gnomemusic/player.py
@@ -530,7 +530,6 @@ class Player(GObject.GObject):
__gsignals__ = {
'clock-tick': (GObject.SignalFlags.RUN_FIRST, None, (int,)),
'playlist-changed': (GObject.SignalFlags.RUN_FIRST, None, ()),
- 'prev-next-invalidated': (GObject.SignalFlags.RUN_FIRST, None, ()),
'seek-finished': (GObject.SignalFlags.RUN_FIRST, None, (float,)),
'song-changed': (GObject.SignalFlags.RUN_FIRST, None, (int,)),
'song-validated': (GObject.SignalFlags.RUN_FIRST, None, (int, int)),
@@ -733,7 +732,6 @@ class Player(GObject.GObject):
self.stop()
self._playlist.remove_song(song_index)
self.emit('playlist-changed')
- self.emit('prev-next-invalidated')
@log
def add_song(self, song, song_index):
@@ -743,7 +741,6 @@ class Player(GObject.GObject):
"""
self._playlist.add_song(song, song_index)
self.emit('playlist-changed')
- self.emit('prev-next-invalidated')
@log
def _on_song_validated(self, playlist, index, status):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]