Simple search API proposal, take 2

Fabrice Colin fabrice.colin at gmail.com
Mon Jan 15 07:16:58 PST 2007


On 1/15/07, Mikkel Kamstrup Erlandsen <mikkel.kamstrup at gmail.com> wrote:
> 2007/1/12, Fabrice Colin <fabrice.colin at gmail.com>:
> > - ShowConfiguration
> > >       Open a graphical interface for configuring the search tool.
> > Is it safe to assume that because this method was called on the session
> bus
> > that a graphical display is available ?
>
> No you can't assume that. We could make the method return a string with an
> error message. The method would be considered failed if the response != "".
>
Okay.

> Errors could also arise if you don't have the toolkit installed in which the
> config tool was implemented.
>
Well, that's very much a package dependencies issue but I get the idea.

> You would have yo use the live api to pick up such changes in the result set.
>
Are you saying it would be possible to mix and match calls to the simple and
the live APIs ?
If an app needs to be notified about changes, let it use the live API
all the way.

Fabrice



More information about the xdg mailing list