[gnome-music/wip/merge: 188/343] player: correct params for _onProgressScaleEvent



commit 85fb689c690f858a5c7f471b37bebe98171fa2ae
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Tue Jul 16 18:20:07 2013 +0200

    player: correct params for _onProgressScaleEvent

 gnomemusic/player.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/player.py b/gnomemusic/player.py
index 0d23b8c..2fb640b 100644
--- a/gnomemusic/player.py
+++ b/gnomemusic/player.py
@@ -412,7 +412,7 @@ class Player(GObject.GObject):
         self.songPlaybackTimeLabel.set_label(self.secondsToString(seconds))
         return False
 
-    def _onProgressScaleEvent(self):
+    def _onProgressScaleEvent(self, scale, data):
         self._lastState = self.player.get_state(1)[1]
         self.player.set_state(Gst.State.PAUSED)
         if self.timeout:


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