Still writing globalOverlay. Not yet part of build.

This commit is contained in:
hangas%netscape.com 1999-07-18 19:43:44 +00:00
Родитель b6c73a4dc8
Коммит 84545da0d7
2 изменённых файлов: 37 добавлений и 2 удалений

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

@ -1 +1,34 @@
// more to come soon
function NavigatorWindow()
{
var toolkitCore = XPAppCoresManager.Find("ToolkitCore");
if (!toolkitCore)
{
toolkitCore = new ToolkitCore();
if (toolkitCore)
{
toolkitCore.Init("ToolkitCore");
}
}
if (toolkitCore)
{
toolkitCore.ShowWindow("chrome://navigator/content/",
window);
}
}
function MessengerWindow()
{
window.open("chrome://messenger/content/", "messenger", "chrome");
}
function AddressBook()
{
var wind = window.open("chrome://addressbook/content/addressbook.xul",
"addressbook", "chrome");
return wind;
}

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

@ -5,7 +5,7 @@
<!ENTITY tasksMenu.label "Tasks">
<!ENTITY navigatorCmd.label "Navigator">
<!ENTITY messengerCmd.label ".Messenger">
<!ENTITY addressBookCmd.label ".Address Book">
<!ENTITY addressBookCmd.label "Address Book">
<!ENTITY bookmarkMenu.label ".Bookmarks">
<!ENTITY addBookmarkCmd.label ".Add Bookmark">
<!ENTITY fileBookmarkCmd.label ".File Bookmark">
@ -40,6 +40,8 @@
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<html:script language="JavaScript" src="chrome://global/content/globalOverlay.js"/>
<menu id="tasksMenu" name="&tasksMenu.label;">
<menuitem name="&navigatorCmd.label;" onclick="NavigatorWindow()"/>
<menuitem name="&messengerCmd.label;" onclick="MessengerWindow()"/>