From 67fe5f1eed190f3c5cc4e625ac0e2f6c0d502247 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 43eecc62ff8..907cab2b9e6 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 @@ +