Set all update notifications as transient

This commit is contained in:
Charles Gagnon
2019-08-30 14:25:03 -04:00
parent ea434b70b0
commit 1eb41277d3

View File

@@ -26,7 +26,7 @@ const _ = Gettext.gettext;
const apiUrl = 'https://api.github.com/repos/home-sweet-gnome/dash-to-panel/';
const tagsApiUrl = apiUrl + 'tags';
const releaseApiUrl = apiUrl + 'releases';
const releasesApiUrl = apiUrl + 'releases';
let httpSession;
@@ -75,7 +75,7 @@ function getTaggedReleaseInfo(releaseTag, cb) {
}
function getReleaseInfo(suffix, cb) {
getHttpMessageResponseBody(createGet(releaseApiUrl + suffix), (err, body) => {
getHttpMessageResponseBody(createGet(releasesApiUrl + suffix), (err, body) => {
if (err) {
return cb(err);
}
@@ -161,7 +161,7 @@ function notifyError(err) {
}
function notify(msg, action) {
Me.imports.utils.notify(msg, 'dialog-information', action, !!action);
Me.imports.utils.notify(msg, 'dialog-information', action, true);
}
function createTmp(name, isDir) {