[Pkg-mozext-commits] [requestpolicy] 20/80: rename some more observer topics
David Prévot
taffit at moszumanska.debian.org
Sun Jul 5 15:02:25 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository requestpolicy.
commit 47faea3924f08bde803a8bac1ebd04d8268dcf42
Author: Martin Kimmerle <dev at 256k.de>
Date: Tue May 12 02:17:44 2015 +0200
rename some more observer topics
---
src/content/lib/policy-manager.jsm | 2 +-
src/content/lib/subscription.jsm | 6 +++---
src/content/settings/yourpolicy.js | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/content/lib/policy-manager.jsm b/src/content/lib/policy-manager.jsm
index 9322adc..a11435c 100644
--- a/src/content/lib/policy-manager.jsm
+++ b/src/content/lib/policy-manager.jsm
@@ -27,7 +27,7 @@ const Cu = Components.utils;
let EXPORTED_SYMBOLS = ["PolicyManager", "RULES_CHANGED_TOPIC"];
-const RULES_CHANGED_TOPIC = "requestpolicy-rules-changed";
+const RULES_CHANGED_TOPIC = "rpcontinued-rules-changed";
Cu.import("resource://gre/modules/Services.jsm");
diff --git a/src/content/lib/subscription.jsm b/src/content/lib/subscription.jsm
index 44d11b2..553bce8 100644
--- a/src/content/lib/subscription.jsm
+++ b/src/content/lib/subscription.jsm
@@ -44,9 +44,9 @@ ScriptLoader.importModules([
"lib/ruleset-storage"
], this);
-const SUBSCRIPTION_UPDATED_TOPIC = 'requestpolicy-subscription-policy-updated';
-const SUBSCRIPTION_ADDED_TOPIC = 'requestpolicy-subscription-policy-added';
-const SUBSCRIPTION_REMOVED_TOPIC = 'requestpolicy-subscription-policy-removed';
+const SUBSCRIPTION_UPDATED_TOPIC = 'rpcontinued-subscription-policy-updated';
+const SUBSCRIPTION_ADDED_TOPIC = 'rpcontinued-subscription-policy-added';
+const SUBSCRIPTION_REMOVED_TOPIC = 'rpcontinued-subscription-policy-removed';
const DEFAULT_SUBSCRIPTION_LIST_URL_BASE = 'https://raw.githubusercontent.com/RequestPolicyContinued/subscriptions/master/';
diff --git a/src/content/settings/yourpolicy.js b/src/content/settings/yourpolicy.js
index a9e1a6a..35b6d2b 100644
--- a/src/content/settings/yourpolicy.js
+++ b/src/content/settings/yourpolicy.js
@@ -236,7 +236,7 @@ function onload() {
}
// observe rule changes and update the table then
- WinEnv.obMan.observe(["requestpolicy-rules-changed"], function() {
+ WinEnv.obMan.observe(["rpcontinued-rules-changed"], function() {
var search = $id('rulesearch');
populateRuleTable(search.value);
});
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/requestpolicy.git
More information about the Pkg-mozext-commits
mailing list