aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-10-14 18:25:57 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-10-14 18:25:57 -0500
commite15cd36f96ae3108faf50da2c613d4a3e3d44359 (patch)
tree592f64122dd32566b8d0e5bd433e2656a8809f3f /src
parent5a14c4f435040a77f4fda33a537e0029e7e678fe (diff)
downloadayatana-indicator-bluetooth-e15cd36f96ae3108faf50da2c613d4a3e3d44359.tar.gz
ayatana-indicator-bluetooth-e15cd36f96ae3108faf50da2c613d4a3e3d44359.tar.bz2
ayatana-indicator-bluetooth-e15cd36f96ae3108faf50da2c613d4a3e3d44359.zip
when listening to notify events from bluetooth to update desktop indicator visibility, add a specifier for which event to monitor
Diffstat (limited to 'src')
-rw-r--r--src/desktop.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop.vala b/src/desktop.vala
index a30935a..4e36273 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.connect (() => update_visibility());
+ bluetooth.notify["enabled"].connect (() => update_visibility());
update_visibility ();
// when devices change, rebuild our device section