aboutsummaryrefslogtreecommitdiff
path: root/src/mpris2-controller.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-03-03 15:45:05 +0000
committerConor Curran <conor.curran@canonical.com>2011-03-03 15:45:05 +0000
commit52976fc65cc974e481722acc68e44857a737599a (patch)
treeb816caf83d7fe31dc99ae8e655f8a631ca38fb2c /src/mpris2-controller.vala
parent8716e591859e3a6a15723a2bf1ee9c9d8fb0545a (diff)
downloadayatana-indicator-sound-52976fc65cc974e481722acc68e44857a737599a.tar.gz
ayatana-indicator-sound-52976fc65cc974e481722acc68e44857a737599a.tar.bz2
ayatana-indicator-sound-52976fc65cc974e481722acc68e44857a737599a.zip
fixes two playlists bugs plus a little code tidy up in the indicator-sound
Diffstat (limited to 'src/mpris2-controller.vala')
-rw-r--r--src/mpris2-controller.vala6
1 files changed, 3 insertions, 3 deletions
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
+}