aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-08-03 10:47:35 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-08-03 10:47:35 -0500
commitd73ae6424c53b2b8760b81d24a71cae6a3169a59 (patch)
tree8a05b62a86f80f3a6c34a0cce331048ac2967192 /src
parent43059ed45ac41e1bf6172b3eec236ea086d81cda (diff)
downloadayatana-indicator-bluetooth-d73ae6424c53b2b8760b81d24a71cae6a3169a59.tar.gz
ayatana-indicator-bluetooth-d73ae6424c53b2b8760b81d24a71cae6a3169a59.tar.bz2
ayatana-indicator-bluetooth-d73ae6424c53b2b8760b81d24a71cae6a3169a59.zip
tweak startup comments
Diffstat (limited to 'src')
-rw-r--r--src/main.vala5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.vala b/src/main.vala
index 89c583b..b88e94e 100644
--- a/src/main.vala
+++ b/src/main.vala
@@ -2,14 +2,17 @@
public static int
main (string[] args)
{
+ // set up i18n
Intl.bind_textdomain_codeset (Config.GETTEXT_PACKAGE, "UTF-8");
Intl.setlocale (LocaleCategory.ALL, "");
Intl.bindtextdomain (Config.GETTEXT_PACKAGE, Config.GNOMELOCALEDIR);
Intl.textdomain (Config.GETTEXT_PACKAGE);
+ // create the backend
var bluetooth = new Bluez (new RfKillSwitch ());
- var service = new BluetoothIndicator (bluetooth);
+ // start the service
+ var service = new BluetoothIndicator (bluetooth);
service.run ();
return Posix.EXIT_SUCCESS;