diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2010-10-07 10:08:18 -0400 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2010-10-07 10:08:18 -0400 |
commit | aeb17c8f7825a68e367c50421f89695d41fcd5fb (patch) | |
tree | a8bbd335136def8b8096d37129fd7ac798b5ddcd /src/mpris2-controller.vala | |
parent | 7695b78d05fd79ad7581d82b1f5ad171529e19e0 (diff) | |
parent | 7ea2deb67919da59bbeab00e3b4e244c8395ff58 (diff) | |
download | ayatana-indicator-sound-aeb17c8f7825a68e367c50421f89695d41fcd5fb.tar.gz ayatana-indicator-sound-aeb17c8f7825a68e367c50421f89695d41fcd5fb.tar.bz2 ayatana-indicator-sound-aeb17c8f7825a68e367c50421f89695d41fcd5fb.zip |
Import upstream version 0.4.8
Diffstat (limited to 'src/mpris2-controller.vala')
-rw-r--r-- | src/mpris2-controller.vala | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mpris2-controller.vala b/src/mpris2-controller.vala index 54e1868..29dd4cf 100644 --- a/src/mpris2-controller.vala +++ b/src/mpris2-controller.vala @@ -135,10 +135,7 @@ public class Mpris2Controller : GLib.Object return changed_updates; } - private TransportMenuitem.state determine_play_state(string status){ - if(status == null) - return TransportMenuitem.state.PAUSED; - + private TransportMenuitem.state determine_play_state(string status){ if(status != null && status == "Playing"){ return TransportMenuitem.state.PLAYING; } |