From 52976fc65cc974e481722acc68e44857a737599a Mon Sep 17 00:00:00 2001 From: Conor Curran Date: Thu, 3 Mar 2011 15:45:05 +0000 Subject: fixes two playlists bugs plus a little code tidy up in the indicator-sound --- src/mpris2-controller.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mpris2-controller.vala') diff --git a/src/mpris2-controller.vala b/src/mpris2-controller.vala index bf930fc..c7305f4 100644 --- a/src/mpris2-controller.vala +++ b/src/mpris2-controller.vala @@ -222,7 +222,7 @@ public class Mpris2Controller : GLib.Object } if( current_playlists != null ){ - //debug( "Size of the playlist array = %i", current_playlists.length ); + 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); } @@ -238,7 +238,7 @@ public class Mpris2Controller : GLib.Object debug(" We don't have an active playlist"); } PlaylistsMenuitem playlists_item = this.owner.custom_items[PlayerController.widget_order.PLAYLISTS] as PlaylistsMenuitem; - playlists_item.update_active_playlist ( this.playlists.ActivePlaylist.details ); + playlists_item.active_playlist_update ( this.playlists.ActivePlaylist.details ); return false; } @@ -251,4 +251,4 @@ public class Mpris2Controller : GLib.Object debug("Could not activate playlist %s because %s", (string)path, e.message); } } -} \ No newline at end of file +} -- cgit v1.2.3