[gnome-music] More fixes
- From: Seif Lotfy <seiflotfy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] More fixes
- Date: Mon, 29 Apr 2013 16:23:52 +0000 (UTC)
commit 89808ef4438cf2d28939f4b06e4bd364450c2cb6
Author: Seif Lotfy <seif lotfy com>
Date: Mon Apr 29 18:23:44 2013 +0200
More fixes
src/player.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/player.js b/src/player.js
index 07c6c7e..88c2b7c 100644
--- a/src/player.js
+++ b/src/player.js
@@ -97,10 +97,10 @@ const Player = new Lang.Class({
this.player = Gst.ElementFactory.make("playbin", "player");
this.player.connect("about-to-finish", Lang.bind(this,
function() {
+ GLib.idle_add(0, Lang.bind(this, function () {
if (this.timeout) {
GLib.source_remove(this.timeout);
}
- GLib.idle_add(0, Lang.bind(this, function () {
if (!this.playlist || !this.currentTrack || !this.playlist.iter_next(this.currentTrack))
this.currentTrack=null;
else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]