From cf894302767d5ec483b5f8002bb796a284895bbf Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 1 Aug 2013 18:21:05 -0500 Subject: add a bluetooth backend to track bluetooth being enabled, being hard/soft blocked, and its devices. --- src/main.vala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main.vala') diff --git a/src/main.vala b/src/main.vala index 1df55c3..7af617d 100644 --- a/src/main.vala +++ b/src/main.vala @@ -7,7 +7,9 @@ main (string[] args) Intl.bindtextdomain (Config.GETTEXT_PACKAGE, Config.GNOMELOCALEDIR); Intl.textdomain (Config.GETTEXT_PACKAGE); - var service = new BluetoothIndicator (); + var bluetooth = new Bluez (new KillSwitch ()); + var service = new BluetoothIndicator (bluetooth); + service.run (); return Posix.EXIT_SUCCESS; -- cgit v1.2.3