mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2025-12-28 15:20:49 +00:00
VNC session: emit session-cancelled signal
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.
This commit is contained in:
parent
be279c8388
commit
592d8c6bb2
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user