[gnome-music/wip/jfelder/mpris-cleanup: 11/23] mpris: Fix player connect calls line length



commit ce5eec54438259f7f3bfc3bf02552a73e7ae4b0b
Author: Jean Felder <jfelder src gnome org>
Date:   Tue Sep 4 15:14:49 2018 +0200

    mpris: Fix player connect calls line length

 gnomemusic/mpris.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/mpris.py b/gnomemusic/mpris.py
index 93d851f1..8084e969 100644
--- a/gnomemusic/mpris.py
+++ b/gnomemusic/mpris.py
@@ -256,9 +256,11 @@ class MPRIS(DBusInterface):
         self.player.connect(
             'song-changed', self._on_current_song_changed)
         self.player.connect('notify::state', self._on_player_state_changed)
-        self.player.connect('notify::repeat-mode', self._on_repeat_mode_changed)
+        self.player.connect(
+            'notify::repeat-mode', self._on_repeat_mode_changed)
         self.player.connect('volume-changed', self._on_volume_changed)
-        self.player.connect('prev-next-invalidated', self._on_prev_next_invalidated)
+        self.player.connect(
+            'prev-next-invalidated', self._on_prev_next_invalidated)
         self.player.connect('seek-finished', self._on_seek_finished)
         self.player.connect(
             'playlist-changed', self._on_player_playlist_changed)


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