From 1f2d7fa28fdae6d8c839aa92bcbcb1a9a2ebe403 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mon, 12 Nov 2012 12:55:52 +0100 Subject: [PATCH] Bluetooth: Remove ObexFTP functionality ObexFTP browsing in gvfs is completely broken, and unmaintained. http://www.hadess.net/2011/11/obexftp-in-gnome-non-update.html Remove the UI for it. The more adventurous can go and use it (as long as I don't get the bug reports). https://bugzilla.gnome.org/show_bug.cgi?id=688160 --- js/ui/status/bluetooth.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/js/ui/status/bluetooth.js b/js/ui/status/bluetooth.js index 22a1b6655..4558cc323 100644 --- a/js/ui/status/bluetooth.js +++ b/js/ui/status/bluetooth.js @@ -239,22 +239,6 @@ const Indicator = new Lang.Class({ this._applet.send_to_address(device.bdaddr, device.alias); })); } - if (device.capabilities & GnomeBluetoothApplet.Capabilities.OBEX_FILE_TRANSFER) { - item.menu.addAction(_("Browse Files..."), Lang.bind(this, function(event) { - this._applet.browse_address(device.bdaddr, event.get_time(), - Lang.bind(this, function(applet, result) { - try { - applet.browse_address_finish(result); - } catch (e) { - this._ensureSource(); - this._source.notify(new MessageTray.Notification(this._source, - _("Bluetooth"), - _("Error browsing device"), - { body: _("The requested device cannot be browsed, error is '%s'").format(e) })); - } - })); - })); - } switch (device.type) { case GnomeBluetoothApplet.Type.KEYBOARD: