Commit 57c6d766 authored by sadrul@chromium.org's avatar sadrul@chromium.org

gtk: Fix alt-f/e to bring up the wrench menu.

The invisible GtkMenuBar eats up alt-f, alt-e and other accelerators for the
top-level items. So make sure these items don't have any accelerators.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/7316017

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91790 0039d316-1c4b-4281-b951-d872f2087c98
parent 1b4f1262
......@@ -245,7 +245,7 @@ void GlobalMenuBar::BuildGtkMenuFrom(
gtk_widget_show(menu);
GtkWidget* menu_item = gtk_menu_item_new_with_mnemonic(
gfx::ConvertAcceleratorsFromWindowsStyle(
gfx::RemoveWindowsStyleAccelerators(
l10n_util::GetStringUTF8(menu_str_id)).c_str());
// Give the owner a chance to sink the reference before we add it to the menu
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment