[virt-tools-list] [PATCH virt-viewer] Add mnemonics for each display item
Fabiano Fidêncio
fidencio at redhat.com
Mon May 30 23:16:15 UTC 2016
On Mon, May 30, 2016 at 7:33 PM, Pavel Grunt <pgrunt at redhat.com> wrote:
> 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
>
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
ACK!
More information about the virt-tools-list
mailing list