Review Request: Enable System Monitor - Network to respond to newly connected network interfaces.
Petri Damstén
petri.damsten at gmail.com
Wed Mar 11 08:14:14 CET 2009
On Wednesday 11 March 2009 08:28:47 Shantanu Tushar Jha wrote:
> > whenever a new source is added in the engine, the sourceAdded signal will
> > be emitted; likewise, the sourceRemoved signal will be emitted whenever a
> > source is removed. the applet should listen to those signals and manage
> > its connections that way.
>
> All is fine with sourceAdded, but somehow, engine()::sourceRemoved is
> not getting emitted called when I disconnect my dial-up connection
> (interface ppp0). I've notified Petri of this.
I guess the dataengine should call removeSource for removed sources in
answerReceived. Attached patch for testing.
Petri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sm.diff
Type: text/x-patch
Size: 1829 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090311/149b352a/attachment.diff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090311/149b352a/attachment.sig
More information about the Plasma-devel
mailing list