[virt-tools-list] [PATCH virt-viewer 1/2] window: Do not show fullscreen toolbar if in kiosk mode
Victor Toso
lists at victortoso.com
Fri May 19 21:16:46 UTC 2017
Hi,
On Fri, May 19, 2017 at 05:16:52PM -0300, Eduardo Lima (Etrunko) wrote:
> Related: https://bugzilla.redhat.com/show_bug.cgi?id=1446161
>
> Signed-off-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>
Acked-by: Victor Toso <victortoso at redhat.com>
Seems to be a regression from:
commit cc455b7f916110d7cfae6b7af753349e070c9494
Author: Fabiano Fidêncio <fidencio at redhat.com>
Date: Fri Jun 17 00:55:32 2016 +0200
I would make a reference to this hash in the commit summary.
toso
> ---
> src/virt-viewer-window.c | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/src/virt-viewer-window.c b/src/virt-viewer-window.c
> index 867a7b0..ff22ded 100644
> --- a/src/virt-viewer-window.c
> +++ b/src/virt-viewer-window.c
> @@ -518,8 +518,11 @@ virt_viewer_window_enter_fullscreen(VirtViewerWindow *self, gint monitor)
>
> virt_viewer_window_menu_fullscreen_set_active(self, TRUE);
> gtk_widget_hide(menu);
> - gtk_widget_show(priv->toolbar);
> - virt_viewer_timed_revealer_force_reveal(priv->revealer, TRUE);
> +
> + if (!priv->kiosk) {
> + gtk_widget_show(priv->toolbar);
> + virt_viewer_timed_revealer_force_reveal(priv->revealer, TRUE);
> + }
>
> if (priv->display) {
> virt_viewer_display_set_monitor(priv->display, monitor);
> --
> 2.9.4
>
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20170519/d08025ff/attachment.sig>
More information about the virt-tools-list
mailing list