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

git-svn-id: svn://10.0.0.236/trunk@34628 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mcmullen%netscape.com 1999-06-10 20:23:06 +00:00
parent 71bfb9d7d8
commit 140dd409d2

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() {}