aboutsummaryrefslogtreecommitdiff
path: root/src/player-controller.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-06-14 12:59:16 +0200
committerConor Curran <conor.curran@canonical.com>2011-06-14 12:59:16 +0200
commit1f5e377b627ba6d170f0cf5fa30d4d1c5b502609 (patch)
tree4629f50e50219af2492657dfe5c55094b03551b9 /src/player-controller.vala
parentf51a22b522b832dc45348f99c387d633ec90fa6d (diff)
downloadayatana-indicator-sound-1f5e377b627ba6d170f0cf5fa30d4d1c5b502609.tar.gz
ayatana-indicator-sound-1f5e377b627ba6d170f0cf5fa30d4d1c5b502609.tar.bz2
ayatana-indicator-sound-1f5e377b627ba6d170f0cf5fa30d4d1c5b502609.zip
widget reset now working nicely
Diffstat (limited to 'src/player-controller.vala')
-rw-r--r--src/player-controller.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player-controller.vala b/src/player-controller.vala
index 7e35d63..e8215cd 100644
--- a/src/player-controller.vala
+++ b/src/player-controller.vala
@@ -135,9 +135,9 @@ public class PlayerController : GLib.Object
update_state(PlayerController.state.OFFLINE);
TransportMenuitem transport = this.custom_items[widget_order.TRANSPORT] as TransportMenuitem;
transport.change_play_state (Transport.State.PAUSED);
- this.custom_items[widget_order.METADATA].reset(MetadataMenuitem.attributes_format());
+ this.custom_items[widget_order.METADATA].reset(MetadataMenuitem.relevant_attributes_for_ui());
MetadataMenuitem md = this.custom_items[widget_order.METADATA] as MetadataMenuitem;
- md.toggle_active_triangle(false);
+ md.toggle_active_triangle (false);
this.mpris_bridge = null;
}