[virt-tools-list] [PATCH 06/22] window: do not reset sensitivity of menu-send in rebuild
marcandre.lureau at redhat.com
marcandre.lureau at redhat.com
Tue Jul 31 13:41:09 UTC 2018
From: Marc-André Lureau <marcandre.lureau at redhat.com>
A mere app::enable-accel notification shouldn't modify the
sensitivity, which is handled for all menu items elsewhere, leave the
current state untouched.
Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
---
src/virt-viewer-window.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/virt-viewer-window.c b/src/virt-viewer-window.c
index 301a3bf..b9b8ce9 100644
--- a/src/virt-viewer-window.c
+++ b/src/virt-viewer-window.c
@@ -219,7 +219,6 @@ rebuild_combo_menu(GObject *gobject G_GNUC_UNUSED,
menu = GTK_WIDGET(gtk_builder_get_object(self->priv->builder, "menu-send"));
gtk_menu_item_set_submenu(GTK_MENU_ITEM(menu),
GTK_WIDGET(virt_viewer_window_get_keycombo_menu(self)));
- gtk_widget_set_sensitive(menu, (self->priv->display != NULL));
}
static void
--
2.18.0.321.gffc6fa0e39
More information about the virt-tools-list
mailing list