[gnome-music] Update position while switching songs



commit 795744fb4ececf2a2569768a94cb37e31e506404
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Mon Oct 14 13:17:39 2013 +0200

    Update position while switching songs
    
    https://bugzilla.gnome.org/show_bug.cgi?id=709465

 gnomemusic/player.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gnomemusic/player.py b/gnomemusic/player.py
index 9f81962..d868740 100644
--- a/gnomemusic/player.py
+++ b/gnomemusic/player.py
@@ -331,6 +331,7 @@ class Player(GObject.GObject):
         return media
 
     def load(self, media):
+        self.progressScale.set_value(0)
         self._set_duration(media.get_duration())
         self.songTotalTimeLabel.set_label(self.seconds_to_string(media.get_duration()))
         self.progressScale.set_sensitive(True)


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