summaryrefslogtreecommitdiffstats
path: root/chrome/app/nibs
diff options
context:
space:
mode:
authorasvitkine <asvitkine@chromium.org>2016-01-25 12:42:25 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-25 20:43:46 +0000
commitb88a2dc5ae6d9b4bdeff2730fac2ff46ae6a2fca (patch)
tree91402588a31cb14113581a06bf7e33e7c5432887 /chrome/app/nibs
parent0ff3b8833a882c297e798400e731f1977654e843 (diff)
downloadchromium_src-b88a2dc5ae6d9b4bdeff2730fac2ff46ae6a2fca.zip
chromium_src-b88a2dc5ae6d9b4bdeff2730fac2ff46ae6a2fca.tar.gz
chromium_src-b88a2dc5ae6d9b4bdeff2730fac2ff46ae6a2fca.tar.bz2
[Mac] Fix duplicate "Enter Full Screen" item in view menu.
Changes the action of our full screen item to -toggleFullScreen: which we already handle. Previously, Cocoa would add an extra "Enter Full Screen" item if it didn't find an existing one with the -toggleFullScreen: action. BUG=538872 TEST=Open View menu from menubar. There should be only one "Enter Full Screen" item and it should work as expected. Review URL: https://codereview.chromium.org/1627163003 Cr-Commit-Position: refs/heads/master@{#371305}
Diffstat (limited to 'chrome/app/nibs')
-rw-r--r--chrome/app/nibs/MainMenu.xib2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/app/nibs/MainMenu.xib b/chrome/app/nibs/MainMenu.xib
index d44a34f..b4712f5 100644
--- a/chrome/app/nibs/MainMenu.xib
+++ b/chrome/app/nibs/MainMenu.xib
@@ -349,7 +349,7 @@ CA
<menuItem title="^IDS_ENTER_FULLSCREEN_MAC" tag="34030" keyEquivalent="f" id="692">
<modifierMask key="keyEquivalentModifierMask" control="YES" command="YES"/>
<connections>
- <action selector="commandDispatch:" target="-1" id="693"/>
+ <action selector="toggleFullScreen:" target="-1" id="693"/>
</connections>
</menuItem>
<menuItem title="^IDS_TEXT_DEFAULT_MAC" tag="38002" keyEquivalent="0" id="460">