aboutsummaryrefslogtreecommitdiff
path: root/src/mpris-controller.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-06-25 12:59:15 +0100
committerConor Curran <conor.curran@canonical.com>2010-06-25 12:59:15 +0100
commitdf55c0f3142de41dd742eda7a59a4b1392882d2b (patch)
tree887bd53f7e64548ce2a340f831db2332454240a8 /src/mpris-controller.vala
parent0336970086fb3bbd00b3a906e9879f4a50ae015c (diff)
downloadayatana-indicator-sound-df55c0f3142de41dd742eda7a59a4b1392882d2b.tar.gz
ayatana-indicator-sound-df55c0f3142de41dd742eda7a59a4b1392882d2b.tar.bz2
ayatana-indicator-sound-df55c0f3142de41dd742eda7a59a4b1392882d2b.zip
fixes two bugs, album art crasher and unreported metadata reset on trackchange
Diffstat (limited to 'src/mpris-controller.vala')
-rw-r--r--src/mpris-controller.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mpris-controller.vala b/src/mpris-controller.vala
index a6d27be..beaf02c 100644
--- a/src/mpris-controller.vala
+++ b/src/mpris-controller.vala
@@ -56,6 +56,7 @@ public class MprisController : GLib.Object
private void onTrackChange(dynamic DBus.Object mpris_client, HashTable<string,Value?> ht)
{
debug("onTrackChange");
+ this.controller.custom_items[this.controller.METADATA].reset(MetadataMenuitem.attributes_format());
this.controller.custom_items[this.controller.METADATA].update(ht,
MetadataMenuitem.attributes_format());
}