From 0932c83d16f55832d52e06b48f40d3acd3a83692 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 10 Oct 2013 14:58:46 -0500 Subject: add an action whose state shows whether or not bluetooth is supported by the hardware, used by ubuntu-system-settings --- src/bluez.vala | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/bluez.vala') diff --git a/src/bluez.vala b/src/bluez.vala index 9baacd5..8c8c1b6 100644 --- a/src/bluez.vala +++ b/src/bluez.vala @@ -70,6 +70,8 @@ public class Bluez: KillswitchBluetooth private void on_default_adapter_changed (string? object_path) { + supported = object_path != null; + if (object_path != null) try { debug (@"using default adapter at $object_path"); -- cgit v1.2.3