From 22d69076a1eaa6d3bb66696485019fe4aae71fa6 Mon Sep 17 00:00:00 2001 From: "radha%netscape.com" Date: Tue, 6 Apr 1999 23:15:06 +0000 Subject: [PATCH] Add menu item "Manage History" under Tasks. --- xpfe/browser/src/navigator.xul | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/xpfe/browser/src/navigator.xul b/xpfe/browser/src/navigator.xul index 43eecc62ff87..907cab2b9e68 100644 --- a/xpfe/browser/src/navigator.xul +++ b/xpfe/browser/src/navigator.xul @@ -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() { // Borrowing this method to show how to @@ -494,6 +508,7 @@ +