summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/update
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-05-29 15:59:36 -0400
committerMatt A. Tobin <email@mattatobin.com>2019-05-29 15:59:36 -0400
commitcee913be919e89c2ce4dc30ac1dae2841549fdd6 (patch)
tree61211a8201b301e84a56220951d201e904365581 /toolkit/mozapps/update
parentfb1b45e5fcb82e76e303665fbb9d04fb2a800b31 (diff)
downloadUXP-cee913be919e89c2ce4dc30ac1dae2841549fdd6.tar
UXP-cee913be919e89c2ce4dc30ac1dae2841549fdd6.tar.gz
UXP-cee913be919e89c2ce4dc30ac1dae2841549fdd6.tar.lz
UXP-cee913be919e89c2ce4dc30ac1dae2841549fdd6.tar.xz
UXP-cee913be919e89c2ce4dc30ac1dae2841549fdd6.zip
Show the update UI instantly instead of after 10 minutes of inactivity
Diffstat (limited to 'toolkit/mozapps/update')
-rw-r--r--toolkit/mozapps/update/nsUpdateService.js13
1 files changed, 4 insertions, 9 deletions
diff --git a/toolkit/mozapps/update/nsUpdateService.js b/toolkit/mozapps/update/nsUpdateService.js
index 64eb995a2..dca0a007e 100644
--- a/toolkit/mozapps/update/nsUpdateService.js
+++ b/toolkit/mozapps/update/nsUpdateService.js
@@ -3498,8 +3498,8 @@ UpdatePrompt.prototype = {
return;
}
- this._showUnobtrusiveUI(null, URI_UPDATE_PROMPT_DIALOG, null,
- UPDATE_WINDOW_NAME, "updatesavailable", update);
+ this._showUI(null, URI_UPDATE_PROMPT_DIALOG, null,
+ UPDATE_WINDOW_NAME, "updatesavailable", update);
},
/**
@@ -3515,13 +3515,8 @@ UpdatePrompt.prototype = {
if (this._getAltUpdateWindow())
return;
- if (background) {
- this._showUnobtrusiveUI(null, URI_UPDATE_PROMPT_DIALOG, null,
- UPDATE_WINDOW_NAME, "finishedBackground", update);
- } else {
- this._showUI(null, URI_UPDATE_PROMPT_DIALOG, null,
- UPDATE_WINDOW_NAME, "finishedBackground", update);
- }
+ this._showUI(null, URI_UPDATE_PROMPT_DIALOG, null,
+ UPDATE_WINDOW_NAME, "finishedBackground", update);
},
/**