aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/desktop.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/desktop.vala b/src/desktop.vala
index 3c21124..198101a 100644
--- a/src/desktop.vala
+++ b/src/desktop.vala
@@ -66,7 +66,7 @@ class Desktop: Profile
// know when to show the indicator & when to hide it
settings.changed["visible"].connect (()=> update_visibility());
- bluetooth.notify["enabled"].connect (() => update_visibility());
+ bluetooth.notify["supported"].connect (() => update_visibility());
update_visibility ();
// when devices change, rebuild our device section
@@ -82,7 +82,7 @@ class Desktop: Profile
void update_visibility ()
{
- visible = bluetooth.enabled && settings.get_boolean("visible");
+ visible = bluetooth.supported && settings.get_boolean("visible");
}
///