use the 'icons' key for all examples

This commit is contained in:
Will Bamberg
2016-01-13 21:03:33 -08:00
parent b444166eed
commit 9190a850f1
37 changed files with 46 additions and 11 deletions

View File

@@ -1 +0,0 @@
The "link.png" icon is taken from the Geomicons iconset, and is used here under the MIT license: http://opensource.org/licenses/MIT.

View File

@@ -6,7 +6,7 @@ function notify(message) {
var content = chrome.i18n.getMessage("notificationContent", message.url);
chrome.notifications.create({
"type": "basic",
"iconUrl": chrome.extension.getURL("link.png"),
"iconUrl": chrome.extension.getURL("icons/link-48.png"),
"title": title,
"message": content
});

View File

@@ -0,0 +1 @@
The "link-48" and "link-64" icons are taken from the Geomicons iconset, and are used here under the MIT license: http://opensource.org/licenses/MIT.

View File

Before

Width:  |  Height:  |  Size: 596 B

After

Width:  |  Height:  |  Size: 596 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 801 B

View File

@@ -5,6 +5,10 @@
"description": "__MSG_extensionDescription__",
"version": "1.0",
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/notify-link-clicks-i18n",
"icons": {
"48": "icons/link-48.png",
"64": "icons/link-64.png"
},
"applications": {
"gecko": {