[the-board] [things] Remove hack to play-pause player to get file duration



commit be82269bf91ca3c2134c548174cc3da77968f41a
Author: Lucas Rocha <lucasr gnome org>
Date:   Fri Jan 28 16:00:02 2011 +0000

    [things] Remove hack to play-pause player to get file duration

 src/js/ui/things/sound.js |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/js/ui/things/sound.js b/src/js/ui/things/sound.js
index 97e8e4e..7caf66f 100644
--- a/src/js/ui/things/sound.js
+++ b/src/js/ui/things/sound.js
@@ -301,8 +301,7 @@ SoundThing.prototype = {
             // start loading the new sound file
             this._player.filename = this._soundFilename;
 
-            this._player.playing = true;
-            this._player.playing = false;
+            //this._player.playing = false;
 
             if (!fromState) {
                 this._playButton.toggled = true;



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