aboutsummaryrefslogtreecommitdiff
path: root/src/mpris2-controller.vala
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2010-10-07 10:08:18 -0400
committerKen VanDine <ken.vandine@canonical.com>2010-10-07 10:08:18 -0400
commitaeb17c8f7825a68e367c50421f89695d41fcd5fb (patch)
treea8bbd335136def8b8096d37129fd7ac798b5ddcd /src/mpris2-controller.vala
parent7695b78d05fd79ad7581d82b1f5ad171529e19e0 (diff)
parent7ea2deb67919da59bbeab00e3b4e244c8395ff58 (diff)
downloadayatana-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.vala5
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;
}