From 7b433d064e87db67a08a5ac0d4c928b1492e8a90 Mon Sep 17 00:00:00 2001 From: "blakeross%telocity.com" Date: Wed, 18 Sep 2002 20:07:55 +0000 Subject: [PATCH] Tweaks. --- browser/base/content/browser.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index 66636870d3e..3839ecad664 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -342,13 +342,18 @@ function delayedStartup(aElt) { // Perform default browser checking (after window opens). checkForDefaultBrowser(); - + // now load bookmarks after a delay var bt = document.getElementById("bookmarks-toolbar"); bt.loadBookmarksCallback(); WindowFocusTimerCallback(aElt); + // Get the preferences service + var prefService = Components.classes["@mozilla.org/preferences-service;1"] + .getService(Components.interfaces.nsIPrefService); + pref = prefService.getBranch(null); + // set home button tooltip text var homeButton = document.getElementById("home-button"); if (homeButton) {