[gnome-music/wip/jfelder/player-playlist: 2/8] playertoolbar: Use GObject property syntax
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/player-playlist: 2/8] playertoolbar: Use GObject property syntax
- Date: Thu, 16 Aug 2018 14:56:52 +0000 (UTC)
commit 1ea45617eed98b9d92f7c49ddaa6c4670308b8f3
Author: Jean Felder <jfelder src gnome org>
Date: Tue Aug 14 22:25:28 2018 +0200
playertoolbar: Use GObject property syntax
gnomemusic/widgets/playertoolbar.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/widgets/playertoolbar.py b/gnomemusic/widgets/playertoolbar.py
index 59aba67b..ad99d9b4 100644
--- a/gnomemusic/widgets/playertoolbar.py
+++ b/gnomemusic/widgets/playertoolbar.py
@@ -121,7 +121,7 @@ class PlayerToolbar(Gtk.ActionBar):
def _on_selection_mode_changed(self, headerbar, selection_mode):
if self._headerbar.props.selection_mode:
self.hide()
- elif self._player.playing:
+ elif self._player.props.playing:
self.show()
@log
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]