Skip to content

Commit

Permalink
Issue mozilla#56 - include about:nightly in the nightly-menu.
Browse files Browse the repository at this point in the history
  • Loading branch information
xabolcs committed May 29, 2012
1 parent adf6e27 commit 814b299
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions extension/chrome/content/messenger.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,11 @@ getWindowTitleForMessenger: function(aTab)
return docTitle;
},

openAboutNightly: function() {
var tabmail = document.getElementById("tabmail");
tabmail.openTab("contentTab",
{ contentPage: "about:nightly" }
);
},

}
2 changes: 2 additions & 0 deletions extension/chrome/content/messengerOverlay.xul
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
<menupopup id="taskPopup">
<menu id="nightly-menu" label="Nightly Tester Tools" insertafter="devToolsSeparator">
<menupopup onpopupshowing="nightly.menuPopup(event,this);">
<menuitem label="&nightly.openabout.label;" oncommand="nightlyApp.openAboutNightly();"/>
<menuseparator/>
<menuitem id="nightly-build-copy" label="&nightly.id.copy.label;" oncommand="nightly.copyTemplate('buildid');"/>
<menuitem id="nightly-build-insert" label="&nightly.id.insert.label;" oncommand="nightly.insertTemplate('buildid');"/>
<menuitem id="nightly-list-copy" label="&nightly.extensions.copy.label;" oncommand="nightly.copyExtensions();"/>
Expand Down
1 change: 1 addition & 0 deletions extension/chrome/locale/en-US/nightly.dtd
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!ENTITY nightly.openabout.label "Open about:nightly">
<!ENTITY nightly.openprofile.label "Open Profile Folder">

<!ENTITY nightly.id.copy.label "Copy Build ID to Clipboard">
Expand Down

0 comments on commit 814b299

Please sign in to comment.