[Pkg-mozext-commits] [requestpolicy] 15/80: rename the observer topic "requestpolicy-prefs-changed"

David Prévot taffit at moszumanska.debian.org
Sun Jul 5 15:02:24 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 c20f6e90a247881fa6ad7905b3f34ecd3b334b11
Author: Martin Kimmerle <dev at 256k.de>
Date:   Tue May 12 01:42:16 2015 +0200

    rename the observer topic "requestpolicy-prefs-changed"
---
 src/content/lib/observer-manager.jsm | 4 ++--
 src/content/lib/prefs.jsm            | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/content/lib/observer-manager.jsm b/src/content/lib/observer-manager.jsm
index a71aae2..e8c60c6 100644
--- a/src/content/lib/observer-manager.jsm
+++ b/src/content/lib/observer-manager.jsm
@@ -129,11 +129,11 @@ function ObserverManager(aEnv) {
   };
 
   /**
-   * A shorthand for calling observe() with topic "requestpolicy-prefs-changed".
+   * A shorthand for calling observe() with topic "rpcontinued-prefs-changed".
    */
   ObserverManager.prototype.observePrefChanges = function(aCallback) {
     let self = this;
-    self.observeSingleTopic("requestpolicy-prefs-changed", aCallback);
+    self.observeSingleTopic("rpcontinued-prefs-changed", aCallback);
   };
 
   //
diff --git a/src/content/lib/prefs.jsm b/src/content/lib/prefs.jsm
index 0b2f5b7..3343ca8 100644
--- a/src/content/lib/prefs.jsm
+++ b/src/content/lib/prefs.jsm
@@ -128,7 +128,7 @@ let Prefs = (function() {
       // Send an observer notification that a pref that affects RP has been
       // changed.
       // TODO: also send the pref's name and its branch
-      Services.obs.notifyObservers(null, "requestpolicy-prefs-changed", null);
+      Services.obs.notifyObservers(null, "rpcontinued-prefs-changed", null);
     }
   };
 

-- 
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