Re: [Spice-devel] spice-xpi now calls JS OnDisconnected

2011-08-29 Thread Peter Hatina
Hello, the update has been done as David Jasa defined. I looked at spice-x code and their call. In spice-x, there is also a call OnDisconnected(ErrCode), but they do not pass anything else, than exit code of the spicec. I assume, that the correct recognition of spicec is done by rhevm. I did some

Re: [Spice-devel] spice-xpi now calls JS OnDisconnected

2011-08-26 Thread Hans de Goede
Hi, On 08/25/2011 11:51 AM, Peter Hatina wrote: Hello guys, I did some changes in spice-xpi. Now the plugin is capable to call JavaScript function "OnDisconnected(ErrCode)" which makes our User Portal more natural in behavior. When spicec quit, the User Portal gets notified by calling OnDisconn

[Spice-devel] spice-xpi now calls JS OnDisconnected

2011-08-25 Thread Peter Hatina
Hello guys, I did some changes in spice-xpi. Now the plugin is capable to call JavaScript function "OnDisconnected(ErrCode)" which makes our User Portal more natural in behavior. When spicec quit, the User Portal gets notified by calling OnDisconnected and can react synchronously, so in future, th