mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Bug #269483 --> more software update work. pass in the dom window to the update wizard
This commit is contained in:
parent
52980f0053
commit
78d49ceca1
@ -2524,7 +2524,7 @@ function checkForUpdates()
|
|||||||
{
|
{
|
||||||
var prompter = Components.classes["@mozilla.org/updates/update-prompt;1"]
|
var prompter = Components.classes["@mozilla.org/updates/update-prompt;1"]
|
||||||
.createInstance(Components.interfaces.nsIUpdatePrompt);
|
.createInstance(Components.interfaces.nsIUpdatePrompt);
|
||||||
prompter.checkForUpdates();
|
prompter.checkForUpdates(window);
|
||||||
}
|
}
|
||||||
|
|
||||||
function buildHelpMenu()
|
function buildHelpMenu()
|
||||||
|
@ -117,14 +117,14 @@ var gAdvancedPane = {
|
|||||||
{
|
{
|
||||||
var prompter = Components.classes["@mozilla.org/updates/update-prompt;1"]
|
var prompter = Components.classes["@mozilla.org/updates/update-prompt;1"]
|
||||||
.createInstance(Components.interfaces.nsIUpdatePrompt);
|
.createInstance(Components.interfaces.nsIUpdatePrompt);
|
||||||
prompter.checkForUpdates();
|
prompter.checkForUpdates(window);
|
||||||
},
|
},
|
||||||
|
|
||||||
showUpdates: function ()
|
showUpdates: function ()
|
||||||
{
|
{
|
||||||
var prompter = Components.classes["@mozilla.org/updates/update-prompt;1"]
|
var prompter = Components.classes["@mozilla.org/updates/update-prompt;1"]
|
||||||
.createInstance(Components.interfaces.nsIUpdatePrompt);
|
.createInstance(Components.interfaces.nsIUpdatePrompt);
|
||||||
prompter.showUpdateHistory();
|
prompter.showUpdateHistory(window);
|
||||||
},
|
},
|
||||||
|
|
||||||
updateMarkAsReadTextbox: function(aFocusTextBox)
|
updateMarkAsReadTextbox: function(aFocusTextBox)
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
<!ENTITY checkNow.label "Check Now...">
|
<!ENTITY checkNow.label "Check Now...">
|
||||||
<!ENTITY appCheckNow.accesskey "k">
|
<!ENTITY appCheckNow.accesskey "k">
|
||||||
<!ENTITY extensionsCheckNow.accesskey "h">
|
<!ENTITY extensionsCheckNow.accesskey "h">
|
||||||
<!ENTITY showUpdates.label "Show Updates">
|
<!ENTITY showUpdates.label "Show Update History">
|
||||||
<!ENTITY showUpdates.accesskey "U">
|
<!ENTITY showUpdates.accesskey "U">
|
||||||
|
|
||||||
<!-- Offline and Disk Space -->
|
<!-- Offline and Disk Space -->
|
||||||
|
Loading…
Reference in New Issue
Block a user