[virt-tools-list] [PATCH virt-viewer 08/12] kiosk: don't quit on disconnection

Marc-André Lureau marcandre.lureau at gmail.com
Mon Jul 15 19:36:15 UTC 2013


---
 src/virt-viewer-app.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
index d5acd2c..ffcf451 100644
--- a/src/virt-viewer-app.c
+++ b/src/virt-viewer-app.c
@@ -1105,7 +1105,8 @@ virt_viewer_app_default_deactivated(VirtViewerApp *self, gboolean connect_error)
                               priv->guest_name);
     }
 
-    gtk_main_quit();
+    if (!self->priv->kiosk)
+        gtk_main_quit();
 }
 
 static void
-- 
1.8.3.rc1.49.g8d97506




More information about the virt-tools-list mailing list