aboutsummaryrefslogtreecommitdiff
path: root/src/mpris2-controller.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-06-14 18:24:46 +0200
committerConor Curran <conor.curran@canonical.com>2011-06-14 18:24:46 +0200
commit2e0dd336905735dc75d3ab7e676ef60af76ae746 (patch)
tree5167d693d6b9f1ba4a21a1fe026526e64edc7d02 /src/mpris2-controller.vala
parent4b0e1e3ae018d0f57104f8b309f159f70fd976dc (diff)
downloadayatana-indicator-sound-2e0dd336905735dc75d3ab7e676ef60af76ae746.tar.gz
ayatana-indicator-sound-2e0dd336905735dc75d3ab7e676ef60af76ae746.tar.bz2
ayatana-indicator-sound-2e0dd336905735dc75d3ab7e676ef60af76ae746.zip
caught most of the little bugs I could find@
Diffstat (limited to 'src/mpris2-controller.vala')
-rw-r--r--src/mpris2-controller.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mpris2-controller.vala b/src/mpris2-controller.vala
index 74e9823..2975066 100644
--- a/src/mpris2-controller.vala
+++ b/src/mpris2-controller.vala
@@ -87,12 +87,12 @@ public class Mpris2Controller : GLib.Object
PlayerItem metadata = this.owner.custom_items[PlayerController.widget_order.METADATA];
metadata.reset (MetadataMenuitem.relevant_attributes_for_ui());
metadata.update ( changed_updates,
- MetadataMenuitem.attributes_format());
+ MetadataMenuitem.relevant_attributes_for_ui());
MetadataMenuitem md = this.owner.custom_items[PlayerController.widget_order.METADATA] as MetadataMenuitem;
bool collapsing = !metadata.populated(MetadataMenuitem.relevant_attributes_for_ui());
md.should_collapse(collapsing);
- debug ("metadata should collapse = %s", collapsing.to_string());
+ debug ("Should metadata collapse %s", collapsing.to_string());
}
Variant? playlist_v = changed_properties.lookup("ActivePlaylist");
if ( playlist_v != null && this.owner.use_playlists == true ){