diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.vala | 5 |
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; |