diff options
author | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-26 20:42:46 +0000 |
---|---|---|
committer | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-26 20:42:46 +0000 |
commit | 58be1c4c110eb10f732b1bab36834c419d368c20 (patch) | |
tree | f44994e0ded6e5d7e603a13f904972d4e6b23de1 /chrome/app | |
parent | 6cfbaff187b755e27246669c19c0b56e2c70110c (diff) | |
download | chromium_src-58be1c4c110eb10f732b1bab36834c419d368c20.zip chromium_src-58be1c4c110eb10f732b1bab36834c419d368c20.tar.gz chromium_src-58be1c4c110eb10f732b1bab36834c419d368c20.tar.bz2 |
[Mac] Hook the print menu up to Browser::CommandDispatch.
BUG=http://crbug.com/19117
TEST=Cmd-P when the locationbar has focus should no longer offer to print the locationbar contents.
Review URL: http://codereview.chromium.org/173493
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24521 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/nibs/MainMenu.xib | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/chrome/app/nibs/MainMenu.xib b/chrome/app/nibs/MainMenu.xib index b8d1572..548744f 100644 --- a/chrome/app/nibs/MainMenu.xib +++ b/chrome/app/nibs/MainMenu.xib @@ -388,6 +388,7 @@ <int key="NSMnemonicLoc">2147483647</int> <reference key="NSOnImage" ref="353210768"/> <reference key="NSMixedImage" ref="549394948"/> + <int key="NSTag">35003</int> </object> </object> </object> @@ -1169,14 +1170,6 @@ </object> <object class="IBConnectionRecord"> <object class="IBActionConnection" key="connection"> - <string key="label">print:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="49223823"/> - </object> - <int key="connectionID">86</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> <string key="label">runPageLayout:</string> <reference key="source" ref="1014"/> <reference key="destination" ref="294629803"/> @@ -1671,6 +1664,14 @@ </object> <int key="connectionID">644</int> </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">commandDispatch:</string> + <reference key="source" ref="1014"/> + <reference key="destination" ref="49223823"/> + </object> + <int key="connectionID">645</int> + </object> </object> <object class="IBMutableOrderedSet" key="objectRecords"> <object class="NSArray" key="orderedObjects"> @@ -2897,7 +2898,7 @@ <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <reference ref="9"/> <string>{{525, 802}, {197, 73}}</string> - <string>{{-56, 470}, {1437, 20}}</string> + <string>{{80, 34}, {1437, 20}}</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <reference ref="9"/> <string>{74, 862}</string> @@ -3033,7 +3034,7 @@ </object> </object> <nil key="sourceID"/> - <int key="maxID">642</int> + <int key="maxID">645</int> </object> <object class="IBClassDescriber" key="IBDocument.Classes"> <object class="NSMutableArray" key="referencedPartialClassDescriptions"> |