From 682e6149ef26407e6fb7b55ebf6cc74b55f45960 Mon Sep 17 00:00:00 2001 From: Robert Ancell Date: Thu, 11 Dec 2014 15:50:16 +1300 Subject: Support Bluez 5 When enabling/disabling and setting discoverability we now do this for all adapters. This requires us to remove the "Set Up New Device" item since gnome-bluetooth no longer has a bluetooth wizard stand alone application. Instead we rely on the unity-control-center panel for device setup. --- src/desktop.vala | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/desktop.vala') diff --git a/src/desktop.vala b/src/desktop.vala index a6cd433..d258a9a 100644 --- a/src/desktop.vala +++ b/src/desktop.vala @@ -55,7 +55,6 @@ class Desktop: Profile actions += create_supported_action (bluetooth); actions += create_enabled_action (bluetooth); actions += create_discoverable_action (bluetooth); - actions += create_wizard_action (); actions += create_browse_files_action (); actions += create_send_file_action (); actions += create_show_settings_action (); @@ -198,8 +197,6 @@ class Desktop: Profile // settings section section = new Menu (); - section.append (_("Set Up New Deviceā€¦"), - "indicator.desktop-wizard"); section.append (_("Bluetooth Settingsā€¦"), "indicator.desktop-show-settings::bluetooth"); menu.append_section (null, section); @@ -235,15 +232,6 @@ class Desktop: Profile return action; } - Action create_wizard_action () - { - var action = new SimpleAction ("desktop-wizard", null); - - action.activate.connect (() - => spawn_command_line_async ("bluetooth-wizard")); - return action; - } - Action create_browse_files_action () { var action = new SimpleAction ("desktop-browse-files", VariantType.STRING); -- cgit v1.2.3