[virt-tools-list] [PATCH virt-viewer v2 5/7] VNC session: emit session-cancelled signal
Jonathon Jongsma
jjongsma at redhat.com
Thu Jun 18 20:15:28 UTC 2015
When the user cancells an authentication dialog (e.g. by pressing 'Esc',
emit the session-cancelled signal to be consistent with the spice
session implementation.
---
src/virt-viewer-session-vnc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/virt-viewer-session-vnc.c b/src/virt-viewer-session-vnc.c
index ff6d906..3321fc2 100644
--- a/src/virt-viewer-session-vnc.c
+++ b/src/virt-viewer-session-vnc.c
@@ -310,6 +310,7 @@ virt_viewer_session_vnc_auth_credential(GtkWidget *src G_GNUC_UNUSED,
if (!ret) {
vnc_display_close(self->priv->vnc);
+ g_signal_emit_by_name(self, "session-cancelled");
goto cleanup;
}
}
--
2.1.0
More information about the virt-tools-list
mailing list