Re: [gtk-vnc-devel] disconnect signal
- From: Jonh Wendell <jwendell gnome org>
- To: gtk-vnc-devel List <gtk-vnc-devel lists sourceforge net>
- Subject: Re: [gtk-vnc-devel] disconnect signal
- Date: Thu, 13 Sep 2007 17:13:17 -0300
Em Qui, 2007-09-13 às 19:18 +0100, Daniel P. Berrange escreveu:
> I looked at this and there is not currently any easy way to distinguish
> between a regular shutdown (from vnc_display_close/gvnc_close) and an
> unplanned shutdown (remote server closes / protocol error), so I've not
> addressed this.
OK, i solved this in vinagre by disconnecting from 'disconnect' signal
when the user explicitly closes the connection, so that it doesn't show
a 'connection lost' message dialog.
> The attached patch does however add a 'vnc-auth-failure' signal so you
> can explicitly handle that common scenario. It also adds a vnc-desktop-resize
> signal that Gerd previously requested.
I tested the auth-failure signal and it works perfectly.
> So as not to delay the release further I'd say we go with this for now and
> I'll investigate if there's a way to add separate useful signals for detecting
> more interesting shutdown / error conditions.
OK, are we ready to 0.2 then?
Cheers,
--
Jonh Wendell
jonh wendell gmail com (MSN / Google Talk)
Linux User #114432
https://launchpad.net/~wendell
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]