Make the update menu item change depending on update state

This commit is contained in:
ben@bengoodger.com
2005-06-20 21:25:45 +00:00
parent 7dc9155677
commit 4157286aed
5 changed files with 58 additions and 3 deletions

View File

@@ -68,7 +68,7 @@
label="&helpMenu.label;"
accesskey="&helpMenu.accesskey;">
#endif
<menupopup id="menu_HelpPopup">
<menupopup id="menu_HelpPopup" onpopupshowing="buildHelpMenu();">
<menuitem oncommand="openHelp('firefox-help', 'chrome://browser/locale/help/help.rdf');"
#ifdef XP_MACOSX
label="&helpContentsMac.label;"
@@ -94,6 +94,7 @@
<menuitem id="checkForUpdates"
accesskey="&updateCmd.accesskey;"
label="&updateCmd.label;"
class="menuitem-iconic"
oncommand="checkForUpdates();"/>
<menuitem id="aboutName"
accesskey="&aboutCmd.accesskey;"