Bug 339980 - "Remove Add dictionary from Mac spellcheck context menu" [p=dao r=Mano a=blocking-firefox3+]
authorreed@reedloden.com
Mon, 08 Oct 2007 14:07:56 -0700
changeset 6728 709c4cf589507eac62c5eb7e0959be1912e7b9a8
parent 6727 da89bde919c685a45d47d96dda024b49ae7456e4
child 6729 522bb999e527f44a7f4498bc2ed4cdae90988c60
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherdermozilla-central@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMano, blocking-firefox3
bugs339980
milestone1.9a9pre
Bug 339980 - "Remove Add dictionary from Mac spellcheck context menu" [p=dao r=Mano a=blocking-firefox3+]
browser/base/content/browser-context.inc
--- a/browser/base/content/browser-context.inc
+++ b/browser/base/content/browser-context.inc
@@ -237,29 +237,33 @@
                 accesskey="&metadataCmd.accesskey;"
                 oncommand="gContextMenu.showMetadata();"/>
       <menuseparator id="spell-separator"/>
       <menuitem id="spell-check-enabled"
                 label="&spellEnable.label;"
                 type="checkbox"
                 accesskey="&spellEnable.accesskey;"
                 oncommand="InlineSpellCheckerUI.toggleEnabled();"/>
+#ifndef MOZ_WIDGET_COCOA
       <menuitem id="spell-add-dictionaries-main"
                 label="&spellAddDictionaries.label;"
                 accesskey="&spellAddDictionaries.accesskey;"
                 oncommand="gContextMenu.addDictionaries();"/>
+#endif
       <menu id="spell-dictionaries"
             label="&spellDictionaries.label;"
             accesskey="&spellDictionaries.accesskey;">
           <menupopup id="spell-dictionaries-menu">
+#ifndef MOZ_WIDGET_COCOA
               <menuseparator id="spell-language-separator"/>
               <menuitem id="spell-add-dictionaries"
                         label="&spellAddDictionaries.label;"
                         accesskey="&spellAddDictionaries.accesskey;"
                         oncommand="gContextMenu.addDictionaries();"/>
+#endif
           </menupopup>
       </menu>
       <menuseparator hidden="true" id="context-sep-bidi"/>
       <menuitem hidden="true" id="context-bidi-text-direction-toggle"
                 label="&bidiSwitchTextDirectionItem.label;"
                 accesskey="&bidiSwitchTextDirectionItem.accesskey;"
                 command="cmd_switchTextDirection"/>
       <menuitem hidden="true" id="context-bidi-page-direction-toggle"