[the-board] [things] Remove hack to play-pause player to get file duration
- From: Lucas Rocha <lucasr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [the-board] [things] Remove hack to play-pause player to get file duration
- Date: Fri, 28 Jan 2011 16:03:24 +0000 (UTC)
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]