After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 597893 - [Moblin] Disable the Send file button unless a device is selected
[Moblin] Disable the Send file button unless a device is selected
Status: RESOLVED FIXED
Product: gnome-bluetooth
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-bluetooth-general-maint@gnome.bugs
gnome-bluetooth-general-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2009-10-09 10:53 UTC by Joshua Lock
Modified: 2009-10-09 13:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[Moblin] Disable the Send file button unless a device is selected (2.72 KB, patch)
2009-10-09 10:53 UTC, Joshua Lock
none Details | Review
[Moblin] Disable the Send file button unless a supported device is selected (7.00 KB, patch)
2009-10-09 12:41 UTC, Joshua Lock
committed Details | Review

Description Joshua Lock 2009-10-09 10:53:04 UTC
Have the send file button disabled by default and only enable it when there
is a device selected in the chooser (and bluetooth is powered, of course).
Comment 1 Joshua Lock 2009-10-09 10:53:07 UTC
Created attachment 145114 [details] [review]
[Moblin] Disable the Send file button unless a device is selected
Comment 2 Bastien Nocera 2009-10-09 11:04:46 UTC
You also need to check for whether the device has the ObexPush profile (see the UUIDs column in test-client).
Comment 3 Joshua Lock 2009-10-09 12:41:02 UTC
Created attachment 145126 [details] [review]
[Moblin] Disable the Send file button unless a supported device is selected

Have the send file button disabled by default and only enable it when a
device which supports OBEXObjectPush is selected in the chooser (and
bluetooth is powered, of course).
Comment 4 Bastien Nocera 2009-10-09 13:15:48 UTC
I fixed it up to disable the button correctly if there's no
ObexPush support, and also fixed it carrying on looping even
though we found what we're looking for.