[gnome-music] correct naming, and fix playlist caching in album view
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] correct naming, and fix playlist caching in album view
- Date: Mon, 6 May 2013 21:16:30 +0000 (UTC)
commit 6dd01359065a518526da8a06529d292c2e1c4b1b
Author: Guillaume Quintard <guillaume quintard gmail com>
Date: Mon May 6 23:14:10 2013 +0200
correct naming, and fix playlist caching in album view
src/player.js | 2 +-
src/widgets.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/player.js b/src/player.js
index 227326e..41e7f43 100644
--- a/src/player.js
+++ b/src/player.js
@@ -221,7 +221,7 @@ const Player = new Lang.Class({
},
runningPlaylist: function (type, id, force){
- if (type == this.playlist_type && id == this.playlist_id)
+ if (type == this.playlistType && id == this.playlistId)
return this.playlist;
else
return null;
diff --git a/src/widgets.js b/src/widgets.js
index 7ee3a92..76260a8 100644
--- a/src/widgets.js
+++ b/src/widgets.js
@@ -66,7 +66,7 @@ const AlbumWidget = new Lang.Class({
this.view.connect('item-activated', Lang.bind(this,
function(widget, id, path) {
this.player.stop();
- if (this.iterToClean && this.player.playlist_id == this.album){
+ if (this.iterToClean && this.player.playlistId == this.album){
let item = this.model.get_value(this.iterToClean, 5);
this.model.set_value(this.iterToClean, 0, item.get_title());
// Hide now playing icon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]