[gnome-music/wip/mschraal/player-factor-out-gstreamer: 53/56] player: move _seconds_timeout to __init__
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/player-factor-out-gstreamer: 53/56] player: move _seconds_timeout to __init__
- Date: Fri, 16 Feb 2018 10:42:25 +0000 (UTC)
commit f351226a9dec0f61bfaf979562dd861669e02abb
Author: Marinus Schraal <mschraal gnome org>
Date: Fri Feb 9 19:52:35 2018 +0100
player: move _seconds_timeout to __init__
gnomemusic/player.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/player.py b/gnomemusic/player.py
index 0787e86..46cf73f 100644
--- a/gnomemusic/player.py
+++ b/gnomemusic/player.py
@@ -72,7 +72,6 @@ class DiscoveryStatus:
class Player(GObject.GObject):
_next_track = None
timeout = None
- _seconds_timeout = None
_shuffle_history = deque(maxlen=10)
__gsignals__ = {
@@ -126,6 +125,7 @@ class Player(GObject.GObject):
self._player.connect('notify::state', self._on_state_change)
self._seconds_period = 0
+ self._seconds_timeout = 0
self._lastfm = LastFmScrobbler()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]