[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: Wed, 24 Apr 2019 12:09:52 +0000 (UTC)
commit 319986f0dd86cfd694b5b16c246ecbf329b772de
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 6343950a..487e1e30 100644
--- a/gnomemusic/player.py
+++ b/gnomemusic/player.py
@@ -817,7 +817,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]