From 1eb41277d30aa1f5a588fbc1cbaff140c2590df3 Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Fri, 30 Aug 2019 14:25:03 -0400 Subject: [PATCH] Set all update notifications as transient --- update.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/update.js b/update.js index 5bef87a..fea40d5 100644 --- a/update.js +++ b/update.js @@ -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) {