From fc07d87eeb4310fe91a913711c557823654ded9a Mon Sep 17 00:00:00 2001 From: Pavel Grunt Date: Mon, 30 May 2016 19:33:10 +0200 Subject: [PATCH] Add mnemonics for each display item MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Related: rhbz#1332545 Acked-by: Fabiano FidĂȘncio (cherry picked from commit 4b6fc261d0dbbde08cfd826db1c1accb6919336b) --- src/virt-viewer-app.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c index 9e4875e..d282c40 100644 --- a/src/virt-viewer-app.c +++ b/src/virt-viewer-app.c @@ -2290,8 +2290,8 @@ window_update_menu_displays_cb(gpointer value, gboolean visible, sensitive; gchar *label; - label = g_strdup_printf(_("Display %d"), nth + 1); - item = gtk_check_menu_item_new_with_label(label); + label = g_strdup_printf(_("Display _%d"), nth + 1); + item = gtk_check_menu_item_new_with_mnemonic(label); g_free(label); visible = vwin && gtk_widget_get_visible(GTK_WIDGET(virt_viewer_window_get_window(vwin)));