summaryrefslogtreecommitdiffstats
path: root/application/basilisk/components/nsBrowserGlue.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-06-29 17:41:18 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-06-29 17:41:18 +0200
commit51792b31a36b9539fdd1b4b85abe486c1652b6c4 (patch)
treee390cc9ab03d5fb0035eae376ce865297280d148 /application/basilisk/components/nsBrowserGlue.js
parent65b4a8ac5e784fbc0ba9a45784c910890730da4f (diff)
downloadUXP-51792b31a36b9539fdd1b4b85abe486c1652b6c4.tar
UXP-51792b31a36b9539fdd1b4b85abe486c1652b6c4.tar.gz
UXP-51792b31a36b9539fdd1b4b85abe486c1652b6c4.tar.lz
UXP-51792b31a36b9539fdd1b4b85abe486c1652b6c4.tar.xz
UXP-51792b31a36b9539fdd1b4b85abe486c1652b6c4.zip
Revert "Remove unwanted newtab page code"
This reverts commit 277fa0afdc50b707b3227ca327c29766cdcd20f1.
Diffstat (limited to 'application/basilisk/components/nsBrowserGlue.js')
-rw-r--r--application/basilisk/components/nsBrowserGlue.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/application/basilisk/components/nsBrowserGlue.js b/application/basilisk/components/nsBrowserGlue.js
index 6138e151d..3258159b6 100644
--- a/application/basilisk/components/nsBrowserGlue.js
+++ b/application/basilisk/components/nsBrowserGlue.js
@@ -32,6 +32,7 @@ XPCOMUtils.defineLazyServiceGetter(this, "AlertsService", "@mozilla.org/alerts-s
["ContentPrefServiceParent", "resource://gre/modules/ContentPrefServiceParent.jsm"],
["ContentSearch", "resource:///modules/ContentSearch.jsm"],
["DateTimePickerHelper", "resource://gre/modules/DateTimePickerHelper.jsm"],
+ ["DirectoryLinksProvider", "resource:///modules/DirectoryLinksProvider.jsm"],
["Feeds", "resource:///modules/Feeds.jsm"],
["FileUtils", "resource://gre/modules/FileUtils.jsm"],
["FormValidationHandler", "resource:///modules/FormValidationHandler.jsm"],
@@ -656,7 +657,9 @@ BrowserGlue.prototype = {
webrtcUI.init();
AboutHome.init();
+ DirectoryLinksProvider.init();
NewTabUtils.init();
+ NewTabUtils.links.addProvider(DirectoryLinksProvider);
AboutNewTab.init();
NewTabMessages.init();