aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-12-06 16:08:49 +0000
committerCharles Kerr <charles.kerr@canonical.com>2013-12-06 16:08:49 +0000
commit1ada398d932a25db4b6ead5dc4615f745a3ca418 (patch)
treea8cff0e5673bde56c28f2f42458bb0c745f84f64
parenta3b7b1c7db28b8e89fe5e1dbd671ed73e85feb05 (diff)
downloadayatana-indicator-bluetooth-1ada398d932a25db4b6ead5dc4615f745a3ca418.tar.gz
ayatana-indicator-bluetooth-1ada398d932a25db4b6ead5dc4615f745a3ca418.tar.bz2
ayatana-indicator-bluetooth-1ada398d932a25db4b6ead5dc4615f745a3ca418.zip
change the bluetooth.supported property whenever bluez' default adapter changes its object path.
-rw-r--r--src/bluez.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bluez.vala b/src/bluez.vala
index adbd4c4..a189a16 100644
--- a/src/bluez.vala
+++ b/src/bluez.vala
@@ -157,6 +157,8 @@ public class Bluez: Bluetooth, Object
critical (@"$(e.message)");
}
+ supported = object_path != null;
+
on_default_adapter_properties_changed ();
}