зеркало из https://github.com/mozilla/pjs.git
bug 331737 - remove 'About Sunbird' from 'Help' menu on Mac OS X - r=jminta
This commit is contained in:
Родитель
b284bc07d4
Коммит
fa48cbd147
|
@ -430,10 +430,20 @@
|
||||||
<menuitem accesskey="&releaseCmd.accesskey;"
|
<menuitem accesskey="&releaseCmd.accesskey;"
|
||||||
label="&releaseCmd.label;"
|
label="&releaseCmd.label;"
|
||||||
oncommand="launchBrowser('&releaseURL;');" />
|
oncommand="launchBrowser('&releaseURL;');" />
|
||||||
|
|
||||||
|
# On Mac OS X, the "About Sunbird" menuitem belongs under the "Sunbird" menu.
|
||||||
|
# We hide it (and its separator) here, but we don't ifdef the entire menuitem
|
||||||
|
# out, as doing so will prevent it from appearing in either place at all!
|
||||||
|
#
|
||||||
|
#ifndef XP_MACOSX
|
||||||
<menuseparator id="menu_HelpAboutSeparator"/>
|
<menuseparator id="menu_HelpAboutSeparator"/>
|
||||||
|
#endif
|
||||||
<menuitem id="aboutName"
|
<menuitem id="aboutName"
|
||||||
label="&aboutCmd.label;"
|
label="&aboutCmd.label;"
|
||||||
accesskey="&aboutCmd.accesskey;"
|
accesskey="&aboutCmd.accesskey;"
|
||||||
|
#ifdef XP_MACOSX
|
||||||
|
hidden="true"
|
||||||
|
#endif
|
||||||
oncommand="openAboutDialog();"/>
|
oncommand="openAboutDialog();"/>
|
||||||
</menupopup>
|
</menupopup>
|
||||||
</menu>
|
</menu>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче