From 3cc732f558737acd0004efb013993515845e67d7 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 1 Aug 2013 01:34:47 -0500 Subject: add per-profile icons and initial menus w/settings section --- src/main.vala | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'src/main.vala') diff --git a/src/main.vala b/src/main.vala index 79683b2..1df55c3 100644 --- a/src/main.vala +++ b/src/main.vala @@ -7,21 +7,8 @@ main (string[] args) Intl.bindtextdomain (Config.GETTEXT_PACKAGE, Config.GNOMELOCALEDIR); Intl.textdomain (Config.GETTEXT_PACKAGE); - var loop = new MainLoop (); + var service = new BluetoothIndicator (); + service.run (); - BluetoothIndicator indicator; - try - { - indicator = new BluetoothIndicator (); - } - catch (Error e) - { - warning ("Failed to start bluetooth indicator service: %s", e.message); - return Posix.EXIT_FAILURE; - } - - loop.run (); return Posix.EXIT_SUCCESS; } - //var service = new IndicatorSound.Service (); - //return service.run (); -- cgit v1.2.3