From 74b1010881d281c22b9a2ba5c59c780cf2640742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Mon, 17 Apr 2017 20:39:53 +0200 Subject: [PATCH] Add icons to icon path when displaying notifications --- chrome_addon/background.js | 2 +- firefox_webextension/background.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome_addon/background.js b/chrome_addon/background.js index 571dffe..b8dc7a9 100644 --- a/chrome_addon/background.js +++ b/chrome_addon/background.js @@ -7,7 +7,7 @@ chrome.runtime.onMessage.addListener( type: "basic", title : "gPass", message : request.options.message, - iconUrl:chrome.extension.getURL("gpass_icon_64.png") + iconUrl:chrome.extension.getURL("icons/gpass_icon_64.png") }; chrome.notifications.create("gPass", options, function(){}); diff --git a/firefox_webextension/background.js b/firefox_webextension/background.js index cee92d1..f818f62 100644 --- a/firefox_webextension/background.js +++ b/firefox_webextension/background.js @@ -7,7 +7,7 @@ browser.runtime.onMessage.addListener( type: "basic", title : "gPass", message : request.options.message, - iconUrl:browser.extension.getURL("gpass_icon_64.png") + iconUrl:browser.extension.getURL("icons/gpass_icon_64.png") }; browser.notifications.create("gPass", options);