[virt-tools-list] [PATCH virt-viewer] Add mnemonics for each display item
Pavel Grunt
pgrunt at redhat.com
Mon May 30 17:33:10 UTC 2016
Related: rhbz#1332545
---
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 6573961..31cbd20 100644
--- a/src/virt-viewer-app.c
+++ b/src/virt-viewer-app.c
@@ -2286,8 +2286,8 @@ window_update_menu_displays_cb(gpointer value,
gboolean visible;
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)));
--
2.8.3
More information about the virt-tools-list
mailing list