Bug #269483 --> more software update work. pass in the dom window to the update wizard

This commit is contained in:
scott%scott-macgregor.org 2005-06-28 04:23:12 +00:00
parent 52980f0053
commit 78d49ceca1
3 changed files with 4 additions and 4 deletions

View File

@ -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()

View File

@ -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)

View File

@ -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 -->