mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-30 12:27:29 +09:00
Issue #1081 - Restore "release notes" item in the help menu
This commit is contained in:
parent
9d9a113400
commit
112961367a
4 changed files with 33 additions and 8 deletions
|
|
@ -702,6 +702,18 @@ function openAdvancedPreferences(tabID)
|
|||
openPreferences("paneAdvanced", { "advancedTab" : tabID });
|
||||
}
|
||||
|
||||
/**
|
||||
* Opens the release notes page for this version of the application.
|
||||
*/
|
||||
function openReleaseNotes()
|
||||
{
|
||||
var relnotesURL = Components.classes["@mozilla.org/toolkit/URLFormatterService;1"]
|
||||
.getService(Components.interfaces.nsIURLFormatter)
|
||||
.formatURLPref("app.releaseNotesURL");
|
||||
|
||||
openUILinkIn(relnotesURL, "tab");
|
||||
}
|
||||
|
||||
/**
|
||||
* Opens the troubleshooting information (about:support) page for this version
|
||||
* of the application.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue