[virt-tools-list] [PATCH virt-viewer 1/2] Make display menu item sensitive again
Hans de Goede
hdegoede at redhat.com
Thu Mar 28 21:05:54 UTC 2013
Hi,
It took me a while to wrap my ahead around these changes, but
after that they look good: ACK-series.
Regards,
Hans
On 03/28/2013 07:38 PM, Marc-André Lureau wrote:
> From: Marc-André Lureau <marcandre.lureau at redhat.com>
>
> Even if the display has not been explicitely disabled, as long as
> the display is "selectable"
>
> Fix regression introduced with "Do not disable extra client monitors"
> 3b981d953f270662360e5b0c78183924276a18ed
> ---
> src/virt-viewer-app.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
> index de4b640..a05941b 100644
> --- a/src/virt-viewer-app.c
> +++ b/src/virt-viewer-app.c
> @@ -1838,8 +1838,7 @@ window_update_menu_displays_cb(gpointer key G_GNUC_UNUSED,
> if (hint & VIRT_VIEWER_DISPLAY_SHOW_HINT_READY)
> sensitive = TRUE;
>
> - if ((hint & VIRT_VIEWER_DISPLAY_SHOW_HINT_DISABLED) &&
> - virt_viewer_display_get_selectable(display))
> + if (virt_viewer_display_get_selectable(display))
> sensitive = TRUE;
> }
>
>
More information about the virt-tools-list
mailing list