[Pkg-mozext-commits] [adblock-plus] 363/464: Allowed Chrome extensions to have browser actions

David Prévot taffit at moszumanska.debian.org
Tue Jul 22 20:44:34 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus.

commit 33c6d4861910100a305d4712ac087eccccb19df8
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Fri Jan 25 14:36:28 2013 +0100

    Allowed Chrome extensions to have browser actions
---
 manifest.json.tmpl | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/manifest.json.tmpl b/manifest.json.tmpl
index 7e0fc5f..adf0c55 100644
--- a/manifest.json.tmpl
+++ b/manifest.json.tmpl
@@ -45,6 +45,10 @@
   },
   {%- endif %}
 
+  {%- if metadata.has_option('general', 'browserAction') and metadata.get('general', 'browserAction') != '' %}
+  "browser_action": {},
+  {%- endif %}
+
   {%- if icons %}
   "icons": {{icons|json}},
   {%- endif %}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git



More information about the Pkg-mozext-commits mailing list