aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-09-13 12:15:15 +0100
committerConor Curran <conor.curran@canonical.com>2010-09-13 12:15:15 +0100
commit40cde0089157e7ac2475b32ff2afad9ea031260b (patch)
tree23f5102dcfa22d28eb1dd7342b3ac008485a59fa /src
parentfc3c998e6bbec4528a9b1682665064679ac590ac (diff)
downloadayatana-indicator-sound-40cde0089157e7ac2475b32ff2afad9ea031260b.tar.gz
ayatana-indicator-sound-40cde0089157e7ac2475b32ff2afad9ea031260b.tar.bz2
ayatana-indicator-sound-40cde0089157e7ac2475b32ff2afad9ea031260b.zip
playback status fix
Diffstat (limited to 'src')
-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 b6d2333..4717f41 100644
--- a/src/mpris2-controller.vala
+++ b/src/mpris2-controller.vala
@@ -107,7 +107,7 @@ public class Mpris2Controller : GLib.Object
}
Value? play_v = changed_properties.lookup("PlaybackStatus");
if(play_v != null){
- string state = play_v.get_string();
+ string state = this.player.PlaybackStatus;
debug("new playback state = %s", state);
TransportMenuitem.state p = (TransportMenuitem.state)this.determine_play_state(state);
(this.owner.custom_items[PlayerController.widget_order.TRANSPORT] as TransportMenuitem).change_play_state(p);