aboutsummaryrefslogtreecommitdiff
path: root/src/main.vala
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-08-01 01:34:47 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-08-01 01:34:47 -0500
commit3cc732f558737acd0004efb013993515845e67d7 (patch)
treecc554df46298fb7d01130f71024e55017b4bc007 /src/main.vala
parent39263df5ab76e2f444e5dbb702512f741c56830c (diff)
downloadayatana-indicator-bluetooth-3cc732f558737acd0004efb013993515845e67d7.tar.gz
ayatana-indicator-bluetooth-3cc732f558737acd0004efb013993515845e67d7.tar.bz2
ayatana-indicator-bluetooth-3cc732f558737acd0004efb013993515845e67d7.zip
add per-profile icons and initial menus w/settings section
Diffstat (limited to 'src/main.vala')
-rw-r--r--src/main.vala17
1 files changed, 2 insertions, 15 deletions
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 ();