diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-09-02 18:04:41 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-09-02 18:04:41 +0100 |
commit | 0125f59bd6229cc8c98314b86795814ca5df6c42 (patch) | |
tree | 12d4f35061b5b9cd820ab7b8846c7fdf7070d008 /src/player-controller.vala | |
parent | 966137c8c0547f1c749fa7b13955c6f536539129 (diff) | |
download | ayatana-indicator-sound-0125f59bd6229cc8c98314b86795814ca5df6c42.tar.gz ayatana-indicator-sound-0125f59bd6229cc8c98314b86795814ca5df6c42.tar.bz2 ayatana-indicator-sound-0125f59bd6229cc8c98314b86795814ca5df6c42.zip |
active triangle now in place
Diffstat (limited to 'src/player-controller.vala')
-rw-r--r-- | src/player-controller.vala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/player-controller.vala b/src/player-controller.vala index 4d9f054..2ea9331 100644 --- a/src/player-controller.vala +++ b/src/player-controller.vala @@ -116,6 +116,8 @@ public class PlayerController : GLib.Object update_state(PlayerController.state.OFFLINE); this.custom_items[widget_order.TRANSPORT].reset(TransportMenuitem.attributes_format()); this.custom_items[widget_order.METADATA].reset(MetadataMenuitem.attributes_format()); + TitleMenuitem title = this.custom_items[widget_order.TITLE] as TitleMenuitem; + title.toggle_active_triangle(false); } public void update_layout() @@ -172,6 +174,8 @@ public class PlayerController : GLib.Object { if(this.mpris_bridge.connected() == true){ this.update_state(state.CONNECTED); + TitleMenuitem title = this.custom_items[widget_order.TITLE] as TitleMenuitem; + title.toggle_active_triangle(true); } else{ this.update_state(state.DISCONNECTED); |