diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-10 21:14:15 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-10 21:14:15 +0000 |
commit | f210d34c171fdf09df68f91900da032e5b2545e3 (patch) | |
tree | 64c241dae9ae36adee0cf17b9893cad3efcb7c7a /chrome/browser/gtk/standard_menus.cc | |
parent | fd6e5b81fdc1ab2b5ae1fb585c0b891800d5b00c (diff) | |
download | chromium_src-f210d34c171fdf09df68f91900da032e5b2545e3.zip chromium_src-f210d34c171fdf09df68f91900da032e5b2545e3.tar.gz chromium_src-f210d34c171fdf09df68f91900da032e5b2545e3.tar.bz2 |
Bind ^Q to quit, as is standard with Linux GUI apps.
BUG=none
TEST=Press ctrl+q and chrome should quit
Patch by Jacob Mandelson <jacob@mandelson.org> via
http://codereview.chromium.org/119393
Review URL: http://codereview.chromium.org/118522
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18085 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/standard_menus.cc')
-rw-r--r-- | chrome/browser/gtk/standard_menus.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/gtk/standard_menus.cc b/chrome/browser/gtk/standard_menus.cc index 877fcd1..17689a4 100644 --- a/chrome/browser/gtk/standard_menus.cc +++ b/chrome/browser/gtk/standard_menus.cc @@ -96,7 +96,7 @@ struct MenuCreateMaterial standard_app_menu_materials[] = { { MENU_NORMAL, IDC_ABOUT, IDS_ABOUT, IDS_PRODUCT_NAME }, { MENU_NORMAL, IDC_HELP_PAGE, IDS_HELP_PAGE, 0, NULL, GDK_F1 }, { MENU_SEPARATOR }, - { MENU_NORMAL, IDC_EXIT, IDS_EXIT }, + { MENU_NORMAL, IDC_EXIT, IDS_EXIT, 0, NULL, GDK_q, GDK_CONTROL_MASK }, { MENU_END } }; } // namespace |