Add 'Edit Bookmarks...' menu item.

This commit is contained in:
slamm%netscape.com 1999-02-26 19:59:00 +00:00
parent d63963762c
commit 43cbc3724d

View File

@ -118,6 +118,21 @@
}
}
function BrowserEditBookmarks()
{
var toolkitCore = XPAppCoresManager.Find("ToolkitCore");
if (!toolkitCore) {
toolkitCore = new ToolkitCore();
if (toolkitCore) {
toolkitCore.Init("ToolkitCore");
}
}
if (toolkitCore) {
toolkitCore.ShowWindow("resource:/res/rdf/bookmarks.xul",
window);
}
}
function BrowserPrintPreview()
{
// Borrowing this method to show how to
@ -177,6 +192,9 @@
<menuitem name="Forward" onClick="BrowserForward();" />
<menuitem name="Home" onClick="BrowserHome();"/>
</menu>
<menu name="Window">
<menuitem name="Edit Bookmarks..." onClick="BrowserEditBookmarks();"/>
</menu>
</menubar>