[virt-tools-list] [PATCH virt-viewer 04/12] kiosk: use less verbose window/display status
Marc-André Lureau
marcandre.lureau at gmail.com
Mon Jul 15 19:36:11 UTC 2013
We want extra windows to remain blank after connection.
---
src/virt-viewer-app.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
index 5456b8d..a38841c 100644
--- a/src/virt-viewer-app.c
+++ b/src/virt-viewer-app.c
@@ -695,7 +695,8 @@ display_show_hint(VirtViewerDisplay *display,
if (win != self->priv->main_window &&
g_getenv("VIRT_VIEWER_HIDE"))
virt_viewer_window_hide(win);
- virt_viewer_notebook_show_status(nb, _("Waiting for display %d..."), nth + 1);
+ if (!self->priv->kiosk)
+ virt_viewer_notebook_show_status(nb, _("Waiting for display %d..."), nth + 1);
}
virt_viewer_app_update_menu_displays(self);
@@ -1150,7 +1151,11 @@ virt_viewer_app_connected(VirtViewerSession *session G_GNUC_UNUSED,
VirtViewerAppPrivate *priv = self->priv;
priv->connected = TRUE;
- virt_viewer_app_show_status(self, _("Connected to graphic server"));
+
+ if (self->priv->kiosk)
+ virt_viewer_app_show_status(self, "");
+ else
+ virt_viewer_app_show_status(self, _("Connected to graphic server"));
}
--
1.8.3.rc1.49.g8d97506
More information about the virt-tools-list
mailing list