Message ID | 0b63950b1ec1b792df1fbbde02b4ef961a009f37.1394656582.git.crobinso@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/ui/gtk.c b/ui/gtk.c index 4d868ed..1fe99d7 100644 --- a/ui/gtk.c +++ b/ui/gtk.c @@ -1297,7 +1297,7 @@ static GtkWidget *gd_create_menu_machine(GtkDisplayState *s, GtkAccelGroup *acce gtk_menu_item_set_accel_path(GTK_MENU_ITEM(s->quit_item), "<QEMU>/Machine/Quit"); gtk_accel_map_add_entry("<QEMU>/Machine/Quit", - GDK_KEY_q, GDK_CONTROL_MASK); + GDK_KEY_q, HOTKEY_MODIFIERS); gtk_menu_shell_append(GTK_MENU_SHELL(machine_menu), s->quit_item); return machine_menu;
Using the standard ctrl+q makes it too easy to kill the whole VM. Using ctrl+alt+FOO is consistent with our other accelerators. https://bugzilla.redhat.com/show_bug.cgi?id=1062393 Signed-off-by: Cole Robinson <crobinso@redhat.com> --- ui/gtk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)