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 748173 - tracker: Do not advertise browse support for the Tracker extractor
tracker: Do not advertise browse support for the Tracker extractor
Status: RESOLVED FIXED
Product: grilo
Classification: Other
Component: plugins
unspecified
Other All
: Normal normal
: ---
Assigned To: grilo-maint
grilo-maint
Depends on:
Blocks:
 
 
Reported: 2015-04-20 09:31 UTC by Philip Withnall
Modified: 2015-04-20 11:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
tracker: Do not advertise browse support for the Tracker extractor (3.39 KB, patch)
2015-04-20 09:31 UTC, Philip Withnall
committed Details | Review

Description Philip Withnall 2015-04-20 09:31:10 UTC
See the commit message for details.
Comment 1 Philip Withnall 2015-04-20 09:31:13 UTC
Created attachment 301977 [details] [review]
tracker: Do not advertise browse support for the Tracker extractor

The Tracker extractor data source (which appears when using the
per-device-source option) does not support browsing, only resolving.
Override the supported_operations vfunc to ensure that GRL_OP_BROWSE is
not advertised for that source.

This fixes clients which want to browse a single Tracker source (e.g. a
single removable drive) and are checking for browsability using
grl_source_supported_operations().
Comment 2 Bastien Nocera 2015-04-20 09:33:04 UTC
Review of attachment 301977 [details] [review]:

Sure.
Comment 3 Philip Withnall 2015-04-20 11:51:45 UTC
Attachment 301977 [details] pushed as 1b1c0d3 - tracker: Do not advertise browse support for the Tracker extractor