[gnome-music] Start updating progress bar almost immedeately
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] Start updating progress bar almost immedeately
- Date: Tue, 9 Apr 2013 15:29:40 +0000 (UTC)
commit c84743b7ac6b889d7f959752523fc37483f98b2b
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Tue Apr 9 17:29:28 2013 +0200
Start updating progress bar almost immedeately
src/player.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/player.js b/src/player.js
index 630a8da..30e0202 100644
--- a/src/player.js
+++ b/src/player.js
@@ -133,7 +133,7 @@ const Player = new Lang.Class({
this.stop();
this.load(this.playlist[this.currentTrack]);
this.player.set_state(Gst.State.PLAYING);
- this.timeout = GLib.timeout_add(GLib.PRIORITY_DEFAULT, 1000, Lang.bind(this,
this._updatePositionCallback));
+ this.timeout = GLib.timeout_add(GLib.PRIORITY_DEFAULT, 10, Lang.bind(this,
this._updatePositionCallback));
},
pause: function () {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]