mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
Fix the mailnews pref-window-showing code to work with the prefwindow changes.
This commit is contained in:
parent
cdd5c2124b
commit
7298d48ea8
@ -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() {}
|
||||
|
Loading…
Reference in New Issue
Block a user