diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-07-07 17:50:02 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-07-07 17:50:02 +0100 |
commit | 3a06565090107aef0ab7bc22b9ab5c965a729746 (patch) | |
tree | 4688b2639eeef2b4cb424358da742e853a902952 /src/mpris-controller.vala | |
parent | 6eef19e54ead5184d2cb136d3e6fdacc6eef37bf (diff) | |
parent | b41d94677b3471742fa957cc4f60381d8f67ea5d (diff) | |
download | ayatana-indicator-sound-3a06565090107aef0ab7bc22b9ab5c965a729746.tar.gz ayatana-indicator-sound-3a06565090107aef0ab7bc22b9ab5c965a729746.tar.bz2 ayatana-indicator-sound-3a06565090107aef0ab7bc22b9ab5c965a729746.zip |
merged the last of the libindicate work
Diffstat (limited to 'src/mpris-controller.vala')
-rw-r--r-- | src/mpris-controller.vala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mpris-controller.vala b/src/mpris-controller.vala index beaf02c..b1e66f3 100644 --- a/src/mpris-controller.vala +++ b/src/mpris-controller.vala @@ -76,6 +76,11 @@ public class MprisController : GLib.Object this.mpris_player.Pause(); } } + + public bool connected() + { + return (this.mpris_player != null); + } private void onStatusChange(dynamic DBus.Object mpris_client, status st) { |