From 23acfa582dbe083ca78a01691818440cac9aad4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 28 Mar 2013 18:40:10 +0200 Subject: [PATCH] Make display menu item sensitive again 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; }