Commit d7db5688 authored by rsesek@chromium.org's avatar rsesek@chromium.org

[Mac] Call GetNSStringWithFixup() instead of just GetNSString() for bookmark menu items.

BUG=92410
TEST=Open bookmark folder menus. Don't see '&' signs.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96393 0039d316-1c4b-4281-b951-d872f2087c98
parent 093e8b68
...@@ -275,7 +275,7 @@ void BookmarkMenuBridge::AddItemToMenu(int command_id, ...@@ -275,7 +275,7 @@ void BookmarkMenuBridge::AddItemToMenu(int command_id,
const BookmarkNode* node, const BookmarkNode* node,
NSMenu* menu, NSMenu* menu,
bool enabled) { bool enabled) {
NSString* title = l10n_util::GetNSString(message_id); NSString* title = l10n_util::GetNSStringWithFixup(message_id);
SEL action; SEL action;
if (!enabled) { if (!enabled) {
// A nil action makes a menu item appear disabled. NSMenuItem setEnabled // A nil action makes a menu item appear disabled. NSMenuItem setEnabled
......
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