[sugar] filtering result of an object chooser

Tomeu Vizoso tomeu
Sat Mar 1 08:14:52 EST 2008


On Sat, Mar 1, 2008 at 2:03 PM, Bert Freudenberg <bert at freudenbergs.de> wrote:
> On Mar 1, 2008, at 1:02 , Erik Blankinship wrote:
>
>  > Is there a way to filter the mime types of the objects presented
>  > with an object chooser (e.g., only png)?
>
>  Not currently, but I agree that adding a query parameter would be
>  rather useful. A work-around is to query the datastore directly and
>  present the entries within your own UI.

This will work for now, but in the future activities won't be able to
freely access all the entries in the DS.

Which API do you suggest to add to ObjectChooser? I'm willing to look
into this in the near future.

Thanks,

Tomeu



More information about the Sugar-devel mailing list