Bug 339980 - "Remove Add dictionary from Mac spellcheck context menu" [p=dao r=Mano a=blocking-firefox3+]

This commit is contained in:
2007-10-08 14:07:56 -07:00
parent 009451ff7a
commit 2cbbf99ee1

View File

@@ -242,19 +242,23 @@
type="checkbox" type="checkbox"
accesskey="&spellEnable.accesskey;" accesskey="&spellEnable.accesskey;"
oncommand="InlineSpellCheckerUI.toggleEnabled();"/> oncommand="InlineSpellCheckerUI.toggleEnabled();"/>
#ifndef MOZ_WIDGET_COCOA
<menuitem id="spell-add-dictionaries-main" <menuitem id="spell-add-dictionaries-main"
label="&spellAddDictionaries.label;" label="&spellAddDictionaries.label;"
accesskey="&spellAddDictionaries.accesskey;" accesskey="&spellAddDictionaries.accesskey;"
oncommand="gContextMenu.addDictionaries();"/> oncommand="gContextMenu.addDictionaries();"/>
#endif
<menu id="spell-dictionaries" <menu id="spell-dictionaries"
label="&spellDictionaries.label;" label="&spellDictionaries.label;"
accesskey="&spellDictionaries.accesskey;"> accesskey="&spellDictionaries.accesskey;">
<menupopup id="spell-dictionaries-menu"> <menupopup id="spell-dictionaries-menu">
#ifndef MOZ_WIDGET_COCOA
<menuseparator id="spell-language-separator"/> <menuseparator id="spell-language-separator"/>
<menuitem id="spell-add-dictionaries" <menuitem id="spell-add-dictionaries"
label="&spellAddDictionaries.label;" label="&spellAddDictionaries.label;"
accesskey="&spellAddDictionaries.accesskey;" accesskey="&spellAddDictionaries.accesskey;"
oncommand="gContextMenu.addDictionaries();"/> oncommand="gContextMenu.addDictionaries();"/>
#endif
</menupopup> </menupopup>
</menu> </menu>
<menuseparator hidden="true" id="context-sep-bidi"/> <menuseparator hidden="true" id="context-sep-bidi"/>