diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-05 23:09:04 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-05 23:09:04 +0000 |
commit | cc7c1c77040c26a56de3eeb953f468ced2a32186 (patch) | |
tree | 4ca3048a6d816ea9aaf324054703623c472a7a34 /chrome/browser/gtk/menu_gtk.h | |
parent | e9fd14ddb1888ac8906f04148f727467901c763b (diff) | |
download | chromium_src-cc7c1c77040c26a56de3eeb953f468ced2a32186.zip chromium_src-cc7c1c77040c26a56de3eeb953f468ced2a32186.tar.gz chromium_src-cc7c1c77040c26a56de3eeb953f468ced2a32186.tar.bz2 |
Move ConvertAcceleratorsFromWindowsStyle into chrome/common/gtk_util.
Use it on the custom startup url buttons.
BUG=11507
Review URL: http://codereview.chromium.org/118327
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17796 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/menu_gtk.h')
-rw-r--r-- | chrome/browser/gtk/menu_gtk.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/browser/gtk/menu_gtk.h b/chrome/browser/gtk/menu_gtk.h index 444ab96..4bf51cd 100644 --- a/chrome/browser/gtk/menu_gtk.h +++ b/chrome/browser/gtk/menu_gtk.h @@ -79,11 +79,6 @@ class MenuGtk { // Closes the menu. void Cancel(); - // Change windows accelerator style to GTK style. (GTK uses _ for - // accelerators. Windows uses & with && as an escape for &.) - static std::string ConvertAcceleratorsFromWindowsStyle( - const std::string& label); - // Repositions the menu to be right under the button. Alignment is set as // object data on |void_widget| with the tag "left_align". If "left_align" // is true, it aligns the left side of the menu with the left side of the |