[Pkg-mozext-commits] [perspectives-extension] 05/30: Pers_statusbar - Add option for new whitelist status
David Prévot
taffit at alioth.debian.org
Thu Sep 26 22:31:38 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch debian
in repository perspectives-extension.
commit de7d3f84a82dd5a28631f4cb782dbbe19196f4a9
Author: Dave Schaefer <dave.schaefer at gmail.com>
Date: Fri Aug 30 22:14:05 2013 -0600
Pers_statusbar - Add option for new whitelist status
(not used yet; still need to make other code call it)
---
plugin/chrome/content/statusbar.js | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/plugin/chrome/content/statusbar.js b/plugin/chrome/content/statusbar.js
index 0a79d43..eb79797 100644
--- a/plugin/chrome/content/statusbar.js
+++ b/plugin/chrome/content/statusbar.js
@@ -23,6 +23,7 @@ var Pers_statusbar = {
STATE_NSEC : 1,
STATE_NEUT : 2,
STATE_QUERY : 3,
+ STATE_WHITELIST : 4,
force_update : function(event) {
Perspectives.forceStatusUpdate(window);
@@ -98,6 +99,11 @@ var Pers_statusbar = {
Pers_debug.d_print("main", "Neutral Status\n");
imgList[j].setAttribute("src", "chrome://perspectives/content/img/default.png");
continue;
+ case Pers_statusbar.STATE_WHITELIST:
+ //TODO: have other code call this
+ Pers_debug.d_print("main", "Whitelist Status\n");
+ imgList[j].setAttribute("src", "chrome://perspectives/content/img/whitelist.png");
+ continue;
case Pers_statusbar.STATE_QUERY:
Pers_debug.d_print("main", "Querying Status\n");
imgList[j].setAttribute("src", "chrome://perspectives/content/img/progress.gif");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/perspectives-extension.git
More information about the Pkg-mozext-commits
mailing list