Add menu item "Manage History" under Tasks.

This commit is contained in:
radha%netscape.com 1999-04-06 23:15:06 +00:00
Родитель 774087a1ae
Коммит 67fe5f1eed
1 изменённых файлов: 15 добавлений и 0 удалений

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

@ -164,6 +164,20 @@
} }
} }
function OpenHistoryView()
{
var toolkitCore = XPAppCoresManager.Find("toolkitCore");
if (!toolkitCore) {
toolkitCore = new ToolkitCore();
if (toolkitCore) {
toolkitCore.Init("toolkitCore");
}
}
if (toolkitCore) {
toolkitCore.ShowWindow("resource://res/rdf/history.xul",window);
}
}
function BrowserPrintPreview() function BrowserPrintPreview()
{ {
// Borrowing this method to show how to // Borrowing this method to show how to
@ -494,6 +508,7 @@
<menuitem name="Navigator" onclick="BrowserReload();"/> <menuitem name="Navigator" onclick="BrowserReload();"/>
<menuitem name="Messenger" onclick="OpenMessenger();" /> <menuitem name="Messenger" onclick="OpenMessenger();" />
<menuitem name="Editor" onclick="OpenEditor();" /> <menuitem name="Editor" onclick="OpenEditor();" />
<menuitem name="Manage History" onclick="OpenHistoryView();" />
<menuitem name="Chat" onclick="BrowserReload();"/> <menuitem name="Chat" onclick="BrowserReload();"/>
<menuitem name="Shopping Cart" onclick="BrowserReload();"/> <menuitem name="Shopping Cart" onclick="BrowserReload();"/>
<separator /> <separator />