[virt-tools-list] [PATCH virt-viewer 2/2] Quit application if in kiosk mode and authentication has been cancelled
Eduardo Lima (Etrunko)
etrunko at redhat.com
Fri May 19 20:16:53 UTC 2017
Related: https://bugzilla.redhat.com/show_bug.cgi?id=1446161
Signed-off-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>
---
src/virt-viewer-app.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
index f0fcf21..1975af0 100644
--- a/src/virt-viewer-app.c
+++ b/src/virt-viewer-app.c
@@ -1441,6 +1441,8 @@ virt_viewer_app_disconnected(VirtViewerSession *session G_GNUC_UNUSED, const gch
if (!priv->kiosk)
virt_viewer_app_hide_all_windows(self);
+ else if (priv->cancelled)
+ priv->quitting = TRUE;
if (priv->quitting)
g_application_quit(G_APPLICATION(self));
--
2.9.4
More information about the virt-tools-list
mailing list