[gnome-music/wip/jfelder/mpris-cleanup: 15/19] mpris: Make player_toolbar attribute internal
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/mpris-cleanup: 15/19] mpris: Make player_toolbar attribute internal
- Date: Wed, 29 May 2019 13:13:30 +0000 (UTC)
commit 5e494c9dd60a6a9e0751dae6782696a8bbaae3fa
Author: Jean Felder <jfelder src gnome org>
Date: Thu Mar 14 11:08:38 2019 +0100
mpris: Make player_toolbar attribute internal
gnomemusic/mpris.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/mpris.py b/gnomemusic/mpris.py
index 88132d7f..1ba89eb8 100644
--- a/gnomemusic/mpris.py
+++ b/gnomemusic/mpris.py
@@ -287,9 +287,10 @@ class MPRIS(DBusInterface):
self._player.connect(
'playlist-changed', self._on_player_playlist_changed)
- self.player_toolbar = app.get_active_window()._player_toolbar
- self.player_toolbar.connect(
+ self._player_toolbar = app.get_active_window()._player_toolbar
+ self._player_toolbar.connect(
'thumbnail-updated', self._on_thumbnail_updated)
+
self._playlists = Playlists.get_default()
self._playlists.connect(
'playlist-created', self._on_playlists_count_changed)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]