On Wednesday 27 August 2008 19:13:10 Aaron J. Seigo wrote:
> On Wednesday 27 August 2008, Sebastian Kügler wrote:
> >    Can someone help me out and have a look why the signal is never
> >    received (and keep me from banging my head against a wall)?
>
> the applets are created in MID::Protocol::Protocol (the constructor), but
> the signal connection doesn't happen until after that (in
> Manager::registerProtocol)

Ah. The 'real' systray icons are delayed in their initialisation, that's why 
it works for them ...

> i've fixed this by addign a Protocol::init() pure virtual so that the
> applet can call init() whenever it makes sense (e.g. once all the
> connections are made ...)

Right. I was assuming that it was the other way round.

> btw, i think this would be generally useful as a feature, not just for MID.
> would you be cool with renaming it to *thinks* Plasmoid?

Agreed, I'll change the names.

Thanks for saving me some hair :-)
-- 
sebas

 http://www.kde.org | http://vizZzion.org |  GPG Key ID: 9119 0EF9 

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to