Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1169)

Unified Diff: chrome/browser/bookmarks/bookmark_context_menu_gtk.cc

Issue 118024: Properly display mnemonics in some gtk menus where they were not being escape... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: comply with erg request Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/gtk/menu_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_context_menu_gtk.cc
===================================================================
--- chrome/browser/bookmarks/bookmark_context_menu_gtk.cc (revision 17208)
+++ chrome/browser/bookmarks/bookmark_context_menu_gtk.cc (working copy)
@@ -15,17 +15,11 @@
}
void BookmarkContextMenu::AppendItem(int id) {
- menu_->AppendMenuItemWithLabel(
- id,
- MenuGtk::ConvertAcceleratorsFromWindowsStyle(
- l10n_util::GetStringUTF8(id)));
+ menu_->AppendMenuItemWithLabel(id, l10n_util::GetStringUTF8(id));
}
void BookmarkContextMenu::AppendItem(int id, int localization_id) {
- menu_->AppendMenuItemWithLabel(
- id,
- MenuGtk::ConvertAcceleratorsFromWindowsStyle(
- l10n_util::GetStringUTF8(localization_id)));
+ menu_->AppendMenuItemWithLabel(id, l10n_util::GetStringUTF8(localization_id));
}
void BookmarkContextMenu::AppendSeparator() {
@@ -33,8 +27,5 @@
}
void BookmarkContextMenu::AppendCheckboxItem(int id) {
- menu_->AppendCheckMenuItemWithLabel(
- id,
- MenuGtk::ConvertAcceleratorsFromWindowsStyle(
- l10n_util::GetStringUTF8(id)));
+ menu_->AppendCheckMenuItemWithLabel(id, l10n_util::GetStringUTF8(id));
}
« no previous file with comments | « no previous file | chrome/browser/gtk/menu_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698