[Telepathy] tp-qt4 Observer, Approver, Handler high-level API proposal

Simon McVittie simon.mcvittie at collabora.co.uk
Fri Apr 3 11:47:02 PDT 2009


On Fri, 03 Apr 2009 at 15:15:59 -0300, Andre Moreira Magalhaes wrote:
> Simon McVittie wrote:
> > Can't we have this happen at construct time?
> >
> >   
> Yeah, we can, But I was thinking if we will be able to add filters at 
> runtime.
> 
> We have 2 solutions:
> - Receive the filters in the constructor
> - Have a addFilters instead of setFilters

The model we have in telepathy-spec at the moment is that each Client name
(which can be like "Empathy" or "Empathy._1._42" or "Empathy._1._42.Window3")
has a fixed set of filters for its entire lifetime. If you want to change your
filters, drop and re-add a Client name (but you can't usefully do that anyway
if your filters are hard-coded in a .client file - activatable clients should
have their normal set of filters in their .client file, then add additional
transient names if necessary in order to widen the filters while running).

That's a point - we need a way to release the bus name...

    Simon


More information about the telepathy mailing list