[gnome-music/wip/jfelder/player-remove-prev-next-invalidated: 3/6] player: Do not emit 'prev-next-invalidated' on repeat-change
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/player-remove-prev-next-invalidated: 3/6] player: Do not emit 'prev-next-invalidated' on repeat-change
- Date: Tue, 23 Apr 2019 23:05:22 +0000 (UTC)
commit 73bb9e1ddf8552b4c0ded3adf086e7eef2fe1ccc
Author: Jean Felder <jfelder src gnome org>
Date: Wed Apr 24 00:19:34 2019 +0200
player: Do not emit 'prev-next-invalidated' on repeat-change
With the previous changes in PlayerToolbar and MPRIS, all the
"prev-next-invalidated" emissions on repeat-mode changes are now
directly handled by listening to repeat-mode changes.
gnomemusic/player.py | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/gnomemusic/player.py b/gnomemusic/player.py
index dedbccfe..54e259be 100644
--- a/gnomemusic/player.py
+++ b/gnomemusic/player.py
@@ -816,7 +816,6 @@ class Player(GObject.GObject):
self._repeat = mode
self._settings.set_enum('repeat', mode)
- self.emit('prev-next-invalidated')
@GObject.Property(
type=Grl.Media, default=None, flags=GObject.ParamFlags.READABLE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]