GNOME Bugzilla – Bug 649256
Emit a signal when client's are created/connected
Last modified: 2011-05-17 07:50:02 UTC
It would be nice, if a signal could be emitted on the server, when a client connects or was created.
Sounds like a good idea, care to make a patch?
Sure, I'll give it a try. So give me a day or two :)
Created attachment 187169 [details] [review] Add the signal "client-connected".
Created attachment 187170 [details] [review] Update the vala bindings.
The previous two patches add a signal with get's emitted when a new "managed" client appears. Maybe a different name could be used to make clear, that this signal is only emitted after the client was authenticated successful.
commit ae4a3a9f2928f6c8b8b80d43d4cab8600d206351 Author: Fabian Deutsch <fabian.deutsch@gmx.de> Date: Tue May 3 21:13:15 2011 +0200 Updated Vala bindings. Signed-off-by: Fabian Deutsch <fabian.deutsch@gmx.de> commit 6ef7c966aef6e6758a43ba417916af79385db825 Author: Fabian Deutsch <fabian.deutsch@gmx.de> Date: Tue May 3 16:24:28 2011 +0200 Add a signal for newly connected clients. Signed-off-by: Fabian Deutsch <fabian.deutsch@gmx.de>