[sugar] filtering result of an object chooser

Michael Stone michael at laptop.org
Sat Mar 1 14:36:43 EST 2008


> >  I thought since this dialog involves explicit user interaction this
> >  is okay and not restricted by Rainbow?
> 
> Oh, I thought you we proposing not using the object chooser at all?
> That's what I understood by "A work-around is to query the datastore
> directly and present the entries within your own UI".
> 
> >  > Which API do you suggest to add to ObjectChooser? I'm willing to look
> >  > into this in the near future.
> >
> >  I'd simply add a query parameter to the ChooseObject() DBus call.
> >  Since no shipping activity uses this call directly AFAIK, it should
> >  be okay at to do at this time.
> 
> I think Bitfrost says that activities that wish to access other
> objects from the journal will need to ask for permission to read an
> specific object type.  Michael, can you comment on this?

See tickets #2328 and #3801 [1,2] for my existing comments.

[1] http://dev.laptop.org/ticket/2328
[2] http://dev.laptop.org/ticket/3801

Michael


More information about the Sugar mailing list