← Back to team overview

touch-packages team mailing list archive

[Bug 1277814] Re: client library does not expose getAllDownloadsWithMetadata

 

** Changed in: unity-scope-click (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-download-manager in
Ubuntu.
https://bugs.launchpad.net/bugs/1277814

Title:
  client library does not expose getAllDownloadsWithMetadata

Status in Ubuntu Download Manager:
  Fix Released
Status in “ubuntu-download-manager” package in Ubuntu:
  Fix Released
Status in “unity-scope-click” package in Ubuntu:
  Fix Released

Bug description:
  The vala click scope uses the DBus method
  getAllDownloadsWithMetadata('app_id', current_app_id) to get the dbus
  object path (which is what that method returns, despite being named
  "getAllDownloads", which makes it sound like more)

  There doesn't appear to be a way to search the current downloads in
  the client library.

  While a nice API might give us a way to get Download objects for the
  matching downloads, for our purposes in the C++ click scope, we just
  need the object path (the same thing the Download::id() method
  returns.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-download-manager/+bug/1277814/+subscriptions