gPass

gPass Commit Details

Date:2017-04-17 20:39:53 (2 years 2 months ago)
Author:Grégory Soutadé
Branch:master
Commit:74b1010881d281c22b9a2ba5c59c780cf2640742
Parents: 562a84d98470e1ee695226bd2b7757e84fcc17d6
Message:Add icons to icon path when displaying notifications

Changes:
Mchrome_addon/background.js (1 diff)
Mfirefox_webextension/background.js (1 diff)

File differences

chrome_addon/background.js
77
88
99
10
10
1111
1212
1313
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(){});
firefox_webextension/background.js
77
88
99
10
10
1111
1212
1313
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);

Archive Download the corresponding diff file