[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] [PATCH virt-viewer 1/2] Make display menu item sensitive again


It took me a while to wrap my ahead around these changes, but
after that they look good: ACK-series.



On 03/28/2013 07:38 PM, Marc-André Lureau wrote:
From: Marc-André Lureau <marcandre lureau 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"
  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;

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]