[gnome-music/wip/mschraal/player-factor-out-gstreamer: 20/56] make enum order more logical (to me)



commit b7f3d40bdddfc4fb5257b079e077bca3c3d955bd
Author: Marinus Schraal <mschraal gnome org>
Date:   Fri Feb 9 08:13:47 2018 +0100

    make enum order more logical (to me)

 gnomemusic/gstplayer.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/gstplayer.py b/gnomemusic/gstplayer.py
index 14e41b3..57b1fb6 100644
--- a/gnomemusic/gstplayer.py
+++ b/gnomemusic/gstplayer.py
@@ -40,9 +40,9 @@ playlists = Playlists.get_default()
 
 
 class Playback(IntEnum):
-    PLAYING = 0
+    STOPPED = 0
     PAUSED = 1
-    STOPPED = 2
+    PLAYING = 2
 
 
 class GstPlayer(GObject.GObject):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]