[gnome-shell] Bluetooth: Remove ObexFTP functionality



commit 1f2d7fa28fdae6d8c839aa92bcbcb1a9a2ebe403
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Nov 12 12:55:52 2012 +0100

    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 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/js/ui/status/bluetooth.js b/js/ui/status/bluetooth.js
index 22a1b66..4558cc3 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:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]