From d73ae6424c53b2b8760b81d24a71cae6a3169a59 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sat, 3 Aug 2013 10:47:35 -0500 Subject: tweak startup comments --- src/main.vala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3