LP#1731922 - Allow Hatch icon to show in the FF toolbar.
authorChris Sharp <csharp@georgialibraries.org>
Mon, 30 Apr 2018 16:29:32 +0000 (12:29 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 30 Apr 2018 16:29:32 +0000 (12:29 -0400)
Adding default_icon to browser_action allows Firefox to
use the icon in the toolbar.  According to the Chrome
extension documentation, this same syntax should work there
too.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
extension/app/manifest.json

index e953e35..eea09d8 100644 (file)
     }
   ],
   "browser_action": {
-    "default_title": "Hatch"
+    "default_title": "Hatch",
+        "default_icon": {
+        "16": "hatch_icon_16.png",
+        "48": "hatch_icon_48.png"
+    }
+
   },
   "permissions": [
     "nativeMessaging"