diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-07-06 18:55:05 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-07-06 18:55:05 +0100 |
commit | 7555ea6755750dd64a6c4652b852a0bdc0d0bfeb (patch) | |
tree | f636897b4b133057a06dcc60e650e0b8f95acd2d /src/mpris-controller.vala | |
parent | edac78eadc5ddceb17b93bffa101eeffbab4437c (diff) | |
download | ayatana-indicator-sound-7555ea6755750dd64a6c4652b852a0bdc0d0bfeb.tar.gz ayatana-indicator-sound-7555ea6755750dd64a6c4652b852a0bdc0d0bfeb.tar.bz2 ayatana-indicator-sound-7555ea6755750dd64a6c4652b852a0bdc0d0bfeb.zip |
whole new widget to house the customised title item
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) { |