[gnome-music/wip/jfelder/mpris-cleanup: 25/29] 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: 25/29] mpris: Make player_toolbar attribute internal
- Date: Mon, 8 Apr 2019 16:29:52 +0000 (UTC)
commit d09ec3c350cef7b2fa59af871df7f2b8da47aecf
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 419bec0f..94ae5436 100644
--- a/gnomemusic/mpris.py
+++ b/gnomemusic/mpris.py
@@ -291,9 +291,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)
+
playlists = Playlists.get_default()
playlists.connect('playlist-created', self._on_playlists_count_changed)
playlists.connect('playlist-deleted', self._on_playlists_count_changed)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]