Bug 83313 "Open File" doesn't work on Mac when no windows are open p=bugs.mano@mail-central.com r=pedemonte sr=me

This commit is contained in:
neil%parkwaycc.co.uk 2006-09-14 06:10:20 +00:00
parent 0521424a3f
commit a383f5ebab

View File

@ -1643,6 +1643,14 @@ function hiddenWindowStartup()
broadcaster.setAttribute("disabled", "true");
}
// Get the preferences service
var prefService = Components.classes["@mozilla.org/preferences-service;1"]
.getService(Components.interfaces.nsIPrefService);
pref = prefService.getBranch(null);
// init global strings bundle
gNavigatorBundle = document.getElementById("bundle_navigator");
// now load bookmarks after a delay
setTimeout(hiddenWindowLoadBookmarksCallback, 0);
}