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



commit d1209e0accefcd45fc58b993a3f7ff330de38a9a
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.
    
    (cherry picked from commit 9fe59c2fe95ab1557dd6ba0fd28ffa7e3edf5d63)

 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]