* [Qemu-devel] [PATCH] gtk: clarify grab menu item text
@ 2014-04-08 10:55 Gerd Hoffmann
2014-04-08 22:32 ` Cole Robinson
0 siblings, 1 reply; 2+ messages in thread
From: Gerd Hoffmann @ 2014-04-08 10:55 UTC (permalink / raw)
To: qemu-devel; +Cc: Gerd Hoffmann, Anthony Liguori
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
ui/gtk.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/ui/gtk.c b/ui/gtk.c
index c85aea3..7a7e432 100644
--- a/ui/gtk.c
+++ b/ui/gtk.c
@@ -1432,10 +1432,12 @@ static GtkWidget *gd_create_menu_view(GtkDisplayState *s, GtkAccelGroup *accel_g
separator = gtk_separator_menu_item_new();
gtk_menu_shell_append(GTK_MENU_SHELL(view_menu), separator);
- s->grab_on_hover_item = gtk_check_menu_item_new_with_mnemonic(_("Grab On _Hover"));
+ s->grab_on_hover_item =
+ gtk_check_menu_item_new_with_mnemonic(_("Grab On _Hover (kbd only)"));
gtk_menu_shell_append(GTK_MENU_SHELL(view_menu), s->grab_on_hover_item);
- s->grab_item = gtk_check_menu_item_new_with_mnemonic(_("_Grab Input"));
+ s->grab_item =
+ gtk_check_menu_item_new_with_mnemonic(_("_Grab Input (kbd+mouse)"));
gtk_menu_item_set_accel_path(GTK_MENU_ITEM(s->grab_item),
"<QEMU>/View/Grab Input");
gtk_accel_map_add_entry("<QEMU>/View/Grab Input", GDK_KEY_g,
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] gtk: clarify grab menu item text
2014-04-08 10:55 [Qemu-devel] [PATCH] gtk: clarify grab menu item text Gerd Hoffmann
@ 2014-04-08 22:32 ` Cole Robinson
0 siblings, 0 replies; 2+ messages in thread
From: Cole Robinson @ 2014-04-08 22:32 UTC (permalink / raw)
To: Gerd Hoffmann, qemu-devel; +Cc: Anthony Liguori
On 04/08/2014 06:55 AM, Gerd Hoffmann wrote:
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
> ui/gtk.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/ui/gtk.c b/ui/gtk.c
> index c85aea3..7a7e432 100644
> --- a/ui/gtk.c
> +++ b/ui/gtk.c
> @@ -1432,10 +1432,12 @@ static GtkWidget *gd_create_menu_view(GtkDisplayState *s, GtkAccelGroup *accel_g
> separator = gtk_separator_menu_item_new();
> gtk_menu_shell_append(GTK_MENU_SHELL(view_menu), separator);
>
> - s->grab_on_hover_item = gtk_check_menu_item_new_with_mnemonic(_("Grab On _Hover"));
> + s->grab_on_hover_item =
> + gtk_check_menu_item_new_with_mnemonic(_("Grab On _Hover (kbd only)"));
> gtk_menu_shell_append(GTK_MENU_SHELL(view_menu), s->grab_on_hover_item);
>
> - s->grab_item = gtk_check_menu_item_new_with_mnemonic(_("_Grab Input"));
> + s->grab_item =
> + gtk_check_menu_item_new_with_mnemonic(_("_Grab Input (kbd+mouse)"));
> gtk_menu_item_set_accel_path(GTK_MENU_ITEM(s->grab_item),
> "<QEMU>/View/Grab Input");
> gtk_accel_map_add_entry("<QEMU>/View/Grab Input", GDK_KEY_g,
>
Those added bits aren't too translatable. I'd suggest 'Keyboard Grab On
_Hover' and 'Grab All Input' or something along those lines.
- Cole
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-08 22:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-08 10:55 [Qemu-devel] [PATCH] gtk: clarify grab menu item text Gerd Hoffmann
2014-04-08 22:32 ` Cole Robinson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).