Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
Add help menu
Browse files Browse the repository at this point in the history
  • Loading branch information
seleznev committed Aug 15, 2012
1 parent 5b594c8 commit 3243b4f
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions extension/chrome/content/overlay.xul
Expand Up @@ -5,6 +5,8 @@
%brandDTD;
<!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd">
%browserDTD;
<!ENTITY % baseMenuOverlayDTD SYSTEM "chrome://browser/locale/baseMenuOverlay.dtd">
%baseMenuOverlayDTD;
<!ENTITY % aboutPrivateBrowsingDTD SYSTEM "chrome://browser/locale/aboutPrivateBrowsing.dtd">
%aboutPrivateBrowsingDTD;
<!ENTITY % debuggerDTD SYSTEM "chrome://browser/locale/devtools/debugger.dtd">
Expand Down Expand Up @@ -293,6 +295,37 @@
command="View:PageSource"/>
<!-- key="key_viewSource"-->
<menuseparator/>


<menu id="fxmenu_help" label="&helpMenu.label;">
<menupopup id="fxmenu_helpMenupopup">
<menuitem id="fxmenu_openHelp"
label="&helpMenu.label;"
oncommand="openHelpLink('firefox-help')"
onclick="checkForMiddleClick(this, event);"/>
<menuitem id="fxmenu_gettingStarted"
label="&appMenuGettingStarted.label;"
oncommand="gBrowser.loadOneTab('http://www.mozilla.com/firefox/central/', {inBackground: false});"
onclick="checkForMiddleClick(this, event);"/>
<menuitem id="fxmenu_troubleshootingInfo"
label="&helpTroubleshootingInfo.label;"
oncommand="openTroubleshootingPage()"
onclick="checkForMiddleClick(this,event);"/>
<menuitem id="fxmenu_feedbackPage"
label="&helpFeedbackPage.label;"
oncommand="openFeedbackPage()"
onclick="checkForMiddleClick(this, event);"/>
<menuseparator/>
<menuitem id="fxmenu_safeMode"
label="&appMenuSafeMode.label;"
oncommand="safeModeRestart();"/>
<menuseparator/>
<menuitem id="fxmenu_about"
label="&aboutProduct.label;"
oncommand="openAboutDialog();"/>
</menupopup>
</menu>
<menuseparator/>
<menuitem id="fxmenu-quit"
class="menuitem-iconic"
label="&quitApplicationCmd.label;"
Expand Down

0 comments on commit 3243b4f

Please sign in to comment.