[Bug 280705] New: When re-establishing broken channels text UI does not force

Olli Salli olli.salli at collabora.co.uk
Wed Aug 24 13:23:31 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 24.08.2011 15:48, David Edmundson wrote:

> Expected Results:  
> At a minimum we should set the preferred handler requested from the text-ui to
> be the text-ui.
> 
> maybe we should be using ensureAndHandleChannel as this is actually what we
> want to do. Probably a much better solution.
> 

Nah, if you're already a Handler, you should instead just direct the new
channel to yourself by setting preferredHandler.

The request and handle methods are intended to be used when you are NOT
a handler, to avoid the mess of implementing one. If you already have
done all that, using the request and handle API just wastes resources
(by registering another Handler on the bus etc),
pretty much.

Br,
Olli
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOVPtTAAoJEAQQkupGanj4LQsIANVzaciY5SVIimVGYmQfZuiC
xqd4Dt4Tk/bwY3hjY4M+IZYAMP6WsDScbEjRIm8uH70hOKq2qpxGJ2UyRb9uMmi/
v7k5YjN3QvfWvIazb70Fp6SvNpdrOrKsCT+LxRG4OoZ8NfIsrgjsjrXyYP5u2YCS
KZA+RfnWjJsyKFEfN3O8xdOmV8O3xHl+kpSt+N98ZZameusGxvBU2gTAB0ZvBaV8
9LLb+ZBCXIYsOMUyXUViJ9YewxKvZmZDbo+LPgMojOAWDmjHIMeb6cr5uGzz45cM
H4TZXa83ahUjOhzEl0TxIPYHXCRIiiVoXa5znk+GAH1zjSq8+V1tLZNrHMe0gMk=
=b7qy
-----END PGP SIGNATURE-----


More information about the KDE-Telepathy mailing list