mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 864251 - Link to update history from about:support; r=adw
This commit is contained in:
parent
3050badbd4
commit
ca77a41e56
@ -506,6 +506,12 @@ function openProfileDirectory() {
|
||||
new nsLocalFile(profileDir).reveal();
|
||||
}
|
||||
|
||||
function showUpdateHistory() {
|
||||
var prompter = Cc["@mozilla.org/updates/update-prompt;1"]
|
||||
.createInstance(Ci.nsIUpdatePrompt);
|
||||
prompter.showUpdateHistory(window);
|
||||
}
|
||||
|
||||
/**
|
||||
* Profile reset is only supported for the default profile if the appropriate migrator exists.
|
||||
*/
|
||||
|
@ -81,6 +81,18 @@
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="no-copy">
|
||||
<th class="column">
|
||||
&aboutSupport.appBasicsUpdateHistory;
|
||||
</th>
|
||||
|
||||
<td>
|
||||
<button onclick="showUpdateHistory()">
|
||||
&aboutSupport.appBasicsShowUpdateHistory;
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th class="column">
|
||||
&aboutSupport.appBasicsUserAgent;
|
||||
|
@ -21,6 +21,11 @@
|
||||
<!ENTITY aboutSupport.appBasicsName "Name">
|
||||
<!ENTITY aboutSupport.appBasicsVersion "Version">
|
||||
|
||||
<!-- LOCALIZATION NOTE (aboutSupport.appBasicsUpdateHistory, aboutSupport.appBasicsShowUpdateHistory):
|
||||
"Update" is a noun here, not a verb. -->
|
||||
<!ENTITY aboutSupport.appBasicsUpdateHistory "Update History">
|
||||
<!ENTITY aboutSupport.appBasicsShowUpdateHistory "Show Update History">
|
||||
|
||||
<!ENTITY aboutSupport.appBasicsProfileDir "Profile Directory">
|
||||
<!-- LOCALIZATION NOTE (aboutSupport.appBasicsProfileDirWinMac):
|
||||
This is the Windows- and Mac-specific variant of aboutSupport.appBasicsProfileDir.
|
||||
|
Loading…
Reference in New Issue
Block a user