Index: lib/notificationShowRegistration.js |
diff --git a/lib/filterUpdateRegistration.js b/lib/notificationShowRegistration.js |
similarity index 82% |
copy from lib/filterUpdateRegistration.js |
copy to lib/notificationShowRegistration.js |
index 3e4bb66d951b9cb44dd219b47b60d2bc9ac71420..a7928dff345d2021ccef62dc9b8075958a68fbd8 100644 |
--- a/lib/filterUpdateRegistration.js |
+++ b/lib/notificationShowRegistration.js |
@@ -15,9 +15,9 @@ |
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
*/ |
-let {FilterNotifier} = require("filterNotifier"); |
+let {Notification} = require("notification"); |
-FilterNotifier.addListener(function(action, item) |
+Notification.addShowListener(function(notification) |
{ |
- _triggerEvent("filterChange", action, item); |
+ _triggerEvent("_showNotification", notification); |
}); |