Show the update UI instantly instead of after 10 minutes of inactivity

master
Fedor 2019-06-12 13:45:04 +03:00
parent 8cc6eb8551
commit 3a8c606d67
1 changed files with 4 additions and 9 deletions

View File

@ -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);
},
/**