[gnome-music/wip/jfelder/player-signal-two-times] player: Remove redundant playback-status-changed emission



commit 9fe59c2fe95ab1557dd6ba0fd28ffa7e3edf5d63
Author: Jean Felder <jfelder src gnome org>
Date:   Wed Sep 19 19:35:05 2018 +0200

    player: Remove redundant playback-status-changed emission
    
    This signal is already emitted by the stop method.

 gnomemusic/player.py | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/gnomemusic/player.py b/gnomemusic/player.py
index c26cb20f..773816df 100644
--- a/gnomemusic/player.py
+++ b/gnomemusic/player.py
@@ -580,7 +580,6 @@ class Player(GObject.GObject):
             GLib.idle_add(on_glib_idle)
         else:
             self.stop()
-            self.emit('playback-status-changed')
 
     @log
     def play(self, song_index=None):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]