summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-05-29 15:59:36 -0400
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-05-29 22:10:50 +0200
commitb4f252af6306bce72bc7c8b44907895659d469ee (patch)
tree0521696c47038a867e4b140fb1f240bf612c351e
parentae778efe5e16d688d3fea5411bd896f167986161 (diff)
downloadUXP-b4f252af6306bce72bc7c8b44907895659d469ee.tar
UXP-b4f252af6306bce72bc7c8b44907895659d469ee.tar.gz
UXP-b4f252af6306bce72bc7c8b44907895659d469ee.tar.lz
UXP-b4f252af6306bce72bc7c8b44907895659d469ee.tar.xz
UXP-b4f252af6306bce72bc7c8b44907895659d469ee.zip
Show the update UI instantly instead of after 10 minutes of inactivity
-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 d9d09ba46..eea7888fd 100644
--- a/toolkit/mozapps/update/nsUpdateService.js
+++ b/toolkit/mozapps/update/nsUpdateService.js
@@ -3739,8 +3739,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);
},
/**
@@ -3756,13 +3756,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);
},
/**