From: Cole Robinson <crobinso@redhat.com>
To: qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>,
Anthony Liguori <aliguori@amazon.com>,
Cole Robinson <crobinso@redhat.com>
Subject: [Qemu-devel] [PATCH 4/6] gtk: Use ctrl+alt+q for quit accelerator
Date: Wed, 12 Mar 2014 16:40:17 -0400 [thread overview]
Message-ID: <0b63950b1ec1b792df1fbbde02b4ef961a009f37.1394656582.git.crobinso@redhat.com> (raw)
In-Reply-To: <cover.1394656582.git.crobinso@redhat.com>
In-Reply-To: <cover.1394656582.git.crobinso@redhat.com>
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(-)
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;
--
1.8.5.3
next prev parent reply other threads:[~2014-03-12 20:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-12 20:40 [Qemu-devel] [PATCH 0/6] gtk: A few bug fixes Cole Robinson
2014-03-12 20:40 ` [Qemu-devel] [PATCH 1/6] gtk: Don't use deprecated gtk_image_menu_item_new_with_mnemonic Cole Robinson
2014-03-12 20:40 ` [Qemu-devel] [PATCH 2/6] gtk: Don't use deprecated vte_terminal_get_adjustment Cole Robinson
2014-03-12 20:40 ` [Qemu-devel] [PATCH 3/6] gtk: Remove use of deprecated stock items Cole Robinson
2014-03-12 20:40 ` Cole Robinson [this message]
2014-03-12 20:40 ` [Qemu-devel] [PATCH 5/6] gtk: Fix mouse warping with gtk3 Cole Robinson
2014-03-12 20:40 ` [Qemu-devel] [PATCH 6/6] gtk: Don't warp absolute pointer Cole Robinson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0b63950b1ec1b792df1fbbde02b4ef961a009f37.1394656582.git.crobinso@redhat.com \
--to=crobinso@redhat.com \
--cc=aliguori@amazon.com \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).