add some command glue for bringing up the account manager and the prefs dialog

This commit is contained in:
alecf%netscape.com 1999-05-05 02:48:42 +00:00
Родитель 5fb06f74bf
Коммит 85cd4233fc
1 изменённых файлов: 24 добавлений и 0 удалений

Просмотреть файл

@ -64,6 +64,15 @@ function GetNewMail()
}
}
function MsgAccountManager()
{
var appCore = FindMsgAppCore();
if (appCore != null) {
dump('Opening account manager..');
appCore.AccountManager(window);
}
}
function LoadMessage(messageNode)
{
var uri = messageNode.getAttribute('id');
@ -135,3 +144,18 @@ function SortThreadPane(column, sortKey)
}
function MsgPreferences()
{
var prefsCore = XPAppCoresManager.Find("PrefsCore");
if (!prefsCore) {
prefsCore = new PrefsCore();
if (prefsCore) {
prefsCore.Init("PrefsCore");
}
}
if (prefsCore) {
prefsCore.ShowWindow(window);
}
}