aboutsummaryrefslogtreecommitdiff
path: root/src/mpris2-controller.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-10-07 14:22:09 +0100
committerConor Curran <conor.curran@canonical.com>2010-10-07 14:22:09 +0100
commitd966a9ff70a81fae4508fed79ce207424df652f1 (patch)
tree0f0651aa2ef46f5325c5abf949e2c9a01d717035 /src/mpris2-controller.vala
parent351ec423689a0841a3ab9cc6fe03f3dcef5028bc (diff)
downloadayatana-indicator-sound-d966a9ff70a81fae4508fed79ce207424df652f1.tar.gz
ayatana-indicator-sound-d966a9ff70a81fae4508fed79ce207424df652f1.tar.bz2
ayatana-indicator-sound-d966a9ff70a81fae4508fed79ce207424df652f1.zip
tidied silly logic
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;
}