mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
303449 - show update history button missing from preferences
This commit is contained in:
parent
c3ec2009d8
commit
9f022e06d9
@ -224,12 +224,6 @@ var gAdvancedPane = {
|
||||
prompter.checkForUpdates();
|
||||
},
|
||||
|
||||
showAutoInstallOptions: function ()
|
||||
{
|
||||
document.documentElement.openSubDialog("chrome://mozapps/content/preferences/update.xul",
|
||||
"", null);
|
||||
},
|
||||
|
||||
showUpdates: function ()
|
||||
{
|
||||
var prompter = Components.classes["@mozilla.org/updates/update-prompt;1"]
|
||||
|
@ -73,6 +73,9 @@
|
||||
onchange="gAdvancedPane.updateModeItems();"/>
|
||||
<preference id="extensions.update.enabled" name="extensions.update.enabled" type="bool"
|
||||
onchange="gAdvancedPane.updateAddonUpdateUI();"/>
|
||||
<preference id="app.update.disable_button.showUpdateHistory"
|
||||
name="app.update.disable_button.showUpdateHistory"
|
||||
type="bool"/>
|
||||
|
||||
<preference id="security.enable_ssl2" name="security.enable_ssl2" type="bool"/>
|
||||
<preference id="security.enable_ssl3" name="security.enable_ssl3" type="bool"/>
|
||||
@ -174,6 +177,13 @@
|
||||
onsynctopreference="return gAdvancedPane.addonWarnSyncTo();"/>
|
||||
</hbox>
|
||||
</radiogroup>
|
||||
<separator/>
|
||||
<hbox>
|
||||
<button id="showUpdateHistory"
|
||||
label="&showUpdates.label;" accesskey="&showUpdates.accesskey;"
|
||||
preference="app.update.disable_button.showUpdateHistory"
|
||||
oncommand="gAdvancedPane.showUpdates();"/>
|
||||
</hbox>
|
||||
</tabpanel>
|
||||
<tabpanel orient="vertical">
|
||||
<groupbox>
|
||||
|
@ -55,8 +55,8 @@
|
||||
<!ENTITY viewSecurityDevices.label "Security Devices">
|
||||
<!ENTITY viewSecurityDevices.accesskey "y">
|
||||
|
||||
<!ENTITY languages.caption "Languages">
|
||||
<!ENTITY languagesInfo.label "Choose Languages web pages are displayed in.">
|
||||
<!ENTITY showLanguages.label "Edit Languages...">
|
||||
<!ENTITY showLanguages.accesskey "L">
|
||||
<!ENTITY languages.caption "Languages">
|
||||
<!ENTITY languagesInfo.label "Choose Languages web pages are displayed in.">
|
||||
<!ENTITY showLanguages.label "Edit Languages...">
|
||||
<!ENTITY showLanguages.accesskey "L">
|
||||
|
||||
|
@ -75,6 +75,7 @@ var gUpdateHistory = {
|
||||
var closebuttonlabel = document.documentElement.getAttribute("closebuttonlabel");
|
||||
var cancelbutton = document.documentElement.getButton("cancel");
|
||||
cancelbutton.label = closebuttonlabel;
|
||||
cancelbutton.setAttribute("default", "true");
|
||||
cancelbutton.focus();
|
||||
},
|
||||
|
||||
|
@ -2325,7 +2325,7 @@ UpdatePrompt.prototype = {
|
||||
* See nsIUpdateService.idl
|
||||
*/
|
||||
showUpdateHistory: function(parent) {
|
||||
this._showUI(parent, URI_UPDATE_HISTORY_DIALOG, "modal", "Update:History",
|
||||
this._showUI(parent, URI_UPDATE_HISTORY_DIALOG, "modal,dialog=yes", "Update:History",
|
||||
null, null);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user