Dap.Bluetooth: Add UI 'No Adapters' display
authorNicholas Little <arealityfarbetween@googlemail.com>
Thu, 26 Jun 2014 14:19:42 +0000 (15:19 +0100)
committerNicholas Little <arealityfarbetween@googlemail.com>
Thu, 26 Jun 2014 17:32:26 +0000 (18:32 +0100)
commit33b8318d5daabdb019b5beb4236d8f0800ce5ee7
tree80b77f562efc3bb812f212cfc220de53b5d94245
parent5e56cfaac970fa3c38a31a523c73d5fd78af3ecb
Dap.Bluetooth: Add UI 'No Adapters' display

The main source page previously assumed there would be adapters to
control so the "Power" and "Discovery" buttons were still sensitive,
although obviously not operational, in the instances where no adapter was
installed in the user's system.

This patch adds an informative message when no adapters are present and
disables the buttons described above in those cases too.
src/Banshee.Dap.Bluetooth/Banshee.Dap.Bluetooth/Gui/ManagerSource.fs