From c3765026b1049dfd194169c2e3f4a6eb2ff59ccf Mon Sep 17 00:00:00 2001 From: "mcafee%netscape.com" Date: Thu, 10 Sep 1998 19:08:09 +0000 Subject: [PATCH] Adding Window|Privacy Tools|Display Site Info git-svn-id: svn://10.0.0.236/trunk@9738 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/cmd/xfe/resources | 3 +++ mozilla/cmd/xfe/src/Frame.cpp | 7 +++++++ mozilla/cmd/xfe/src/xfe_commands | 1 + 3 files changed, 11 insertions(+) diff --git a/mozilla/cmd/xfe/resources b/mozilla/cmd/xfe/resources index a23ff9f1711..c77732713dc 100644 --- a/mozilla/cmd/xfe/resources +++ b/mozilla/cmd/xfe/resources @@ -2293,6 +2293,9 @@ Show security information for this page *menuBar*viewSignons.labelString: Display Signons *menuBar*viewSignons.mnemonic: S +*menuBar*viewSiteInfo.labelString: Display Site Info +*menuBar*viewSiteInfo.mnemonic: I + *menuBar*viewReceipts.labelString: Display Receipts *menuBar*viewReceipts.mnemonic: R diff --git a/mozilla/cmd/xfe/src/Frame.cpp b/mozilla/cmd/xfe/src/Frame.cpp index 521a5d03d42..fce63f96c4e 100644 --- a/mozilla/cmd/xfe/src/Frame.cpp +++ b/mozilla/cmd/xfe/src/Frame.cpp @@ -197,6 +197,7 @@ MenuSpec XFE_Frame::privacytools_submenu_spec[] = { #ifdef SingleSignon { xfeCmdViewSignons, PUSHBUTTON }, #endif + { xfeCmdViewSiteInfo, PUSHBUTTON }, #ifdef TRANSACTION_RECEIPTS { xfeCmdViewReceipts, PUSHBUTTON }, #endif @@ -3282,6 +3283,7 @@ XFE_Frame::isCommandEnabled(CommandType cmd, #ifdef SingleSignon (cmd == xfeCmdViewSignons) || #endif + (cmd == xfeCmdViewSiteInfo) || (cmd == xfeCmdPrivacyTutorial)) { return TRUE; @@ -3704,6 +3706,10 @@ XFE_Frame::doCommand(CommandType cmd, void *calldata, XFE_CommandInfo* info) SI_DisplaySignonInfoAsHTML(m_context); } #endif + else if (cmd == xfeCmdViewSiteInfo) + { + PRVCY_SiteInfo(m_context); + } else if (cmd == xfeCmdAnonymousMode) { PRVCY_ToggleAnonymous(); @@ -3767,6 +3773,7 @@ XFE_Frame::handlesCommand(CommandType cmd, #ifdef SingleSignon || cmd == xfeCmdViewSignons #endif + || cmd == xfeCmdViewSiteInfo || cmd == xfeCmdViewReceipts || cmd == xfeCmdPrivacyTutorial #ifdef MOZ_TASKBAR diff --git a/mozilla/cmd/xfe/src/xfe_commands b/mozilla/cmd/xfe/src/xfe_commands index 71da41f9dfc..174c0fddf9f 100644 --- a/mozilla/cmd/xfe/src/xfe_commands +++ b/mozilla/cmd/xfe/src/xfe_commands @@ -527,6 +527,7 @@ xfeCmdAnonymousMode anonymousMode xfeCmdToggleReceipt toggleReceipt xfeCmdViewCookies viewCookies xfeCmdViewSignons viewSignons +xfeCmdViewSiteInfo viewSiteInfo xfeCmdViewReceipts viewReceipts xfeCmdPrivacyTutorial privacyTutorial