aboutsummaryrefslogtreecommitdiff
path: root/src/mpris2-controller.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-02-01 13:31:32 -0600
committerConor Curran <conor.curran@canonical.com>2011-02-01 13:31:32 -0600
commitebf8fb61bea8de7d6d2df81015b538638207f2cf (patch)
treeee879b2b74eaec6c8f4544246b503e1bbfb69fd0 /src/mpris2-controller.vala
parent8507423eb5b7acaf1089fdaa4fc57cdca554abeb (diff)
downloadayatana-indicator-sound-ebf8fb61bea8de7d6d2df81015b538638207f2cf.tar.gz
ayatana-indicator-sound-ebf8fb61bea8de7d6d2df81015b538638207f2cf.tar.bz2
ayatana-indicator-sound-ebf8fb61bea8de7d6d2df81015b538638207f2cf.zip
make sure it updates its own title
Diffstat (limited to 'src/mpris2-controller.vala')
-rw-r--r--src/mpris2-controller.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mpris2-controller.vala b/src/mpris2-controller.vala
index b9e7551..d4cdc0c 100644
--- a/src/mpris2-controller.vala
+++ b/src/mpris2-controller.vala
@@ -106,7 +106,7 @@ public class Mpris2Controller : GLib.Object
Variant? identity_v = changed_properties.lookup("Identity");
if (identity_v != null){
TitleMenuitem title = this.owner.custom_items[PlayerController.widget_order.TITLE] as TitleMenuitem;
- title.alter_label (identity_v.get_string());
+ title.alter_label (this.mpris2_root.Identity);
}
}