aboutsummaryrefslogtreecommitdiff
path: root/src/desktop.vala
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2014-12-11 15:50:16 +1300
committerRobert Ancell <robert.ancell@canonical.com>2014-12-11 15:50:16 +1300
commit682e6149ef26407e6fb7b55ebf6cc74b55f45960 (patch)
tree425119abadf174dcbd3f505df3bb2fc7926c0524 /src/desktop.vala
parentb60855a8fcd07434e927995af449d58671dac96b (diff)
downloadayatana-indicator-bluetooth-682e6149ef26407e6fb7b55ebf6cc74b55f45960.tar.gz
ayatana-indicator-bluetooth-682e6149ef26407e6fb7b55ebf6cc74b55f45960.tar.bz2
ayatana-indicator-bluetooth-682e6149ef26407e6fb7b55ebf6cc74b55f45960.zip
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.
Diffstat (limited to 'src/desktop.vala')
-rw-r--r--src/desktop.vala12
1 files changed, 0 insertions, 12 deletions
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);