diff options
author | root <root@rshg054.dnsready.net> | 2013-08-15 01:55:49 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-15 01:55:49 -0700 |
commit | 67142d22ee558cc14309b0a3d372ed796ae8d545 (patch) | |
tree | c5438425fb356422d27df30dd9896407e397ca33 /community/cinnamon/bluetooth_obex_transfer.patch | |
parent | 35ddd3815641e4564d75c5b402f7f0cf48628167 (diff) |
Thu Aug 15 01:55:47 PDT 2013
Diffstat (limited to 'community/cinnamon/bluetooth_obex_transfer.patch')
-rw-r--r-- | community/cinnamon/bluetooth_obex_transfer.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/community/cinnamon/bluetooth_obex_transfer.patch b/community/cinnamon/bluetooth_obex_transfer.patch new file mode 100644 index 000000000..0e632c48b --- /dev/null +++ b/community/cinnamon/bluetooth_obex_transfer.patch @@ -0,0 +1,25 @@ +--- a/files/usr/share/cinnamon/applets/bluetooth@cinnamon.org/applet.js ++++ b/files/usr/share/cinnamon/applets/bluetooth@cinnamon.org/applet.js +@@ -455,22 +455,6 @@ MyApplet.prototype = { + 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: |