-
Committer:
Tarmac
-
Author(s):
Charles Kerr
-
Date:
2013-12-06 17:25:47 UTC
-
mfrom:
(76.1.5 lp~1126108)
-
Revision ID:
tarmac-20131206172547-tc7mb2ktnr0leugo
Gets us a little closer to the spec in two ways:
1. Indicator Visibility
On the desktop, the indicator's header icon is visible whenever a default adapter is available (whether the adapter is powered or not) and the user's preference settings call for a visible Bluetooth indicator.
On the phone, the indicator's header icon is visible whenever a default adapter is available *and* the adapter is powered.
2. Header Icon
If Bluetooth is off, the header icon now uses the "bluetooth-disabled" icon.
If Bluetooth is on, it now uses the "bluetooth-active" icon.
If Bluetooth is on and has a connected device, it now uses the "bluetooth-paired" icon. Fixes: https://bugs.launchpad.net/bugs/1126108.
Approved by PS Jenkins bot, Lars Uebernickel.