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 743693 - lib: Add "default-adapter-num-devices" property
lib: Add "default-adapter-num-devices" property
Status: RESOLVED WONTFIX
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: 2015-01-29 13:11 UTC by Bastien Nocera
Modified: 2015-10-26 18:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
lib: Add "default-adapter-num-devices" property (8.94 KB, patch)
2015-01-29 13:11 UTC, Bastien Nocera
none Details | Review

Description Bastien Nocera 2015-01-29 13:11:08 UTC
.
Comment 1 Bastien Nocera 2015-01-29 13:11:11 UTC
Created attachment 295752 [details] [review]
lib: Add "default-adapter-num-devices" property

This is the number of devices that were setup for the default adapter.
This allows us to know whether there were setup devices before the
adapter got removed.

This property will always be about 1 second behind when devices are
removed, but up-to-date when devices are added.

See https://bugzilla.gnome.org/show_bug.cgi?id=723848#c22
for the reasoning behind adding this kludge.
Comment 2 Bastien Nocera 2015-10-26 18:37:58 UTC
Shouldn't be needed after all, we do that work in gnome-shell instead.