fix opening folder in new mail window regression r=naving, sr=sspitzer, a=asa 133484

This commit is contained in:
bienvenu%netscape.com 2002-03-28 21:28:38 +00:00
Родитель 05239f9588
Коммит 1fc6f3670b
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -44,6 +44,6 @@ interface nsIMessengerWindowService : nsISupports {
aFolderURI --> the folder resource you want pre-selected (if any)
aMsgKey --> a particular message you may want selected in that folder (if any)
*/
void OpenMessengerWindowWithUri(in string aWindowType, in string aFolderURI, in nsMsgKey aMsgKey);
void openMessengerWindowWithUri(in string aWindowType, in string aFolderURI, in nsMsgKey aMsgKey);
};

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

@ -963,7 +963,7 @@ function MsgOpenNewWindowForFolder(uri, key)
// get the messenger window open service and ask it to open a new window for us
var mailWindowService = Components.classes["@mozilla.org/messenger/windowservice;1"].getService(Components.interfaces.nsIMessengerWindowService);
if (mailWindowService)
mailWindowService.openMessengerWindowWithUri(uriToOpen, keyToSelect);
mailWindowService.openMessengerWindowWithUri("mail:3pane", uriToOpen, keyToSelect);
}
}