aboutsummaryrefslogtreecommitdiff
path: root/src/mpris2-controller.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-12-10 13:02:16 +0000
committerConor Curran <conor.curran@canonical.com>2010-12-10 13:02:16 +0000
commitf3b321919e3390f3d3af2eea33ad71611616ce61 (patch)
treec63a7bb63a3eeb2d2a63e5ce472a0e1fad7d9e80 /src/mpris2-controller.vala
parenta964487e2fcd11946b5f95ab36b20cbd1bea4a57 (diff)
downloadayatana-indicator-sound-f3b321919e3390f3d3af2eea33ad71611616ce61.tar.gz
ayatana-indicator-sound-f3b321919e3390f3d3af2eea33ad71611616ce61.tar.bz2
ayatana-indicator-sound-f3b321919e3390f3d3af2eea33ad71611616ce61.zip
playlist widget population
Diffstat (limited to 'src/mpris2-controller.vala')
-rw-r--r--src/mpris2-controller.vala8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mpris2-controller.vala b/src/mpris2-controller.vala
index 2c19606..0bd5562 100644
--- a/src/mpris2-controller.vala
+++ b/src/mpris2-controller.vala
@@ -138,7 +138,6 @@ public class Mpris2Controller : GLib.Object
{
debug("transport_event input = %i", (int)command);
if(command == TransportMenuitem.action.PLAY_PAUSE){
- this.fetch_playlists();
this.player.PlayPause.begin();
}
else if(command == TransportMenuitem.action.PREVIOUS){
@@ -160,12 +159,13 @@ public class Mpris2Controller : GLib.Object
debug( "Size of the playlist array = %i", current_playlists.length );
PlaylistsMenuitem playlists_item = this.owner.custom_items[PlayerController.widget_order.PLAYLISTS] as PlaylistsMenuitem;
playlists_item.update(current_playlists);
- /*foreach(PlaylistDetails detail in current_playlists){
+ foreach(PlaylistDetails detail in current_playlists){
+ debug(" \n \n ");
debug( "Playlist Name = %s", detail.name);
debug( "Playlist path = %s", detail.path);
debug( "Playlist icon path = %s", detail.icon_path);
- debug(" \n \n \n \n \n ");
- }*/
+ debug(" \n \n ");
+ }
}
}