diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-12-06 16:08:49 +0000 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-12-06 16:08:49 +0000 |
commit | 1ada398d932a25db4b6ead5dc4615f745a3ca418 (patch) | |
tree | a8cff0e5673bde56c28f2f42458bb0c745f84f64 /src | |
parent | a3b7b1c7db28b8e89fe5e1dbd671ed73e85feb05 (diff) | |
download | ayatana-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.
Diffstat (limited to 'src')
-rw-r--r-- | src/bluez.vala | 2 |
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 (); } |