[gnome-music/gnome-3-10] Correctly update position in update callback
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/gnome-3-10] Correctly update position in update callback
- Date: Fri, 4 Oct 2013 09:48:31 +0000 (UTC)
commit f1ee258ff716c34c5f778a572379a289782a4d54
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Fri Oct 4 11:39:13 2013 +0200
Correctly update position in update callback
https://bugzilla.gnome.org/show_bug.cgi?id=709386
gnomemusic/player.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/player.py b/gnomemusic/player.py
index 2d9ea24..9f81962 100644
--- a/gnomemusic/player.py
+++ b/gnomemusic/player.py
@@ -542,7 +542,7 @@ class Player(GObject.GObject):
def _update_position_callback(self):
position = self.player.query_position(Gst.Format.TIME)[1] / 1000000000
- if position >= 0:
+ if position > 0:
self.progressScale.set_value(position * 60)
return True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]