[gnome-music/wip/jfelder/mpris-cleanup: 111/117] mpris: Make app attribute internal
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/mpris-cleanup: 111/117] mpris: Make app attribute internal
- Date: Wed, 29 May 2019 12:55:45 +0000 (UTC)
commit f1bc41f0f3c8c6899306501892dc4004d82a6e6a
Author: Jean Felder <jfelder src gnome org>
Date: Thu Mar 14 10:35:13 2019 +0100
mpris: Make app attribute internal
gnomemusic/mpris.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gnomemusic/mpris.py b/gnomemusic/mpris.py
index ab94bda1..e44e690e 100644
--- a/gnomemusic/mpris.py
+++ b/gnomemusic/mpris.py
@@ -277,7 +277,7 @@ class MPRIS(DBusInterface):
path = '/org/mpris/MediaPlayer2'
super().__init__(name, path)
- self.app = app
+ self._app = app
self.player = app.props.player
self.player.connect(
'song-changed', self._on_current_song_changed)
@@ -612,10 +612,10 @@ class MPRIS(DBusInterface):
self._reload_playlists()
def _raise(self):
- self.app.do_activate()
+ self._app.do_activate()
def _quit(self):
- self.app.quit()
+ self._app.quit()
def _next(self):
self.player.next()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]