From 43cbc3724df60528a5f8a79941a4b0fba9034816 Mon Sep 17 00:00:00 2001 From: "slamm%netscape.com" Date: Fri, 26 Feb 1999 19:59:00 +0000 Subject: [PATCH] Add 'Edit Bookmarks...' menu item. --- xpfe/browser/src/navigator.xul | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/xpfe/browser/src/navigator.xul b/xpfe/browser/src/navigator.xul index ec374d2f4d3f..35f7e1422a8a 100644 --- a/xpfe/browser/src/navigator.xul +++ b/xpfe/browser/src/navigator.xul @@ -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 @@ + + +