Fix the mailnews pref-window-showing code to work with the prefwindow changes.

This commit is contained in:
mcmullen%netscape.com 1999-06-10 20:23:06 +00:00
parent cdd5c2124b
commit 7298d48ea8

View File

@ -270,16 +270,8 @@ function MsgFilters() {}
function MsgFolderProperties() {}
function MsgPreferences()
{
var prefsCore = XPAppCoresManager.Find("PrefsCore");
if (!prefsCore) {
prefsCore = new PrefsCore();
if (prefsCore) {
prefsCore.Init("PrefsCore");
}
}
if (prefsCore) {
prefsCore.ShowWindow(window);
}
var prefwindow = Components.classes['component://netscape/prefwindow'].createInstance(Components.interfaces.nsIPrefWindow);
prefwindow.showWindow("widgetglue.js", window, "chrome://messenger/content/pref-mailnews.html");
}
function MsgShowMsgToolbar() {}