aboutsummaryrefslogtreecommitdiff
path: root/src/player-controller.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-10-26 17:03:20 -0400
committerConor Curran <conor.curran@canonical.com>2010-10-26 17:03:20 -0400
commita33f50636cea5d6c1972d1772a59cbb4a0c951b5 (patch)
treef3ee17a5ca213a44035564fdbd4aa8d54c290a19 /src/player-controller.vala
parent8067376fb719ac5bf577a3e85d080eec765ec465 (diff)
downloadayatana-indicator-sound-a33f50636cea5d6c1972d1772a59cbb4a0c951b5.tar.gz
ayatana-indicator-sound-a33f50636cea5d6c1972d1772a59cbb4a0c951b5.tar.bz2
ayatana-indicator-sound-a33f50636cea5d6c1972d1772a59cbb4a0c951b5.zip
initial transport state fixed
Diffstat (limited to 'src/player-controller.vala')
-rw-r--r--src/player-controller.vala5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/player-controller.vala b/src/player-controller.vala
index ad8e989..f9cbe71 100644
--- a/src/player-controller.vala
+++ b/src/player-controller.vala
@@ -178,9 +178,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);
- TransportMenuitem transport = this.custom_items[widget_order.TRANSPORT] as TransportMenuitem;
- transport.change_play_state(TransportMenuitem.state.PAUSED);
+ title.toggle_active_triangle(true);
+ this.mpris_bridge.initial_update();
}
else{
this.update_state(state.DISCONNECTED);