зеркало из https://github.com/mozilla/pjs.git
Adding Window|Privacy Tools|Display Site Info
This commit is contained in:
Родитель
8eb40adc55
Коммит
9e4382717e
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -527,6 +527,7 @@ xfeCmdAnonymousMode anonymousMode
|
|||
xfeCmdToggleReceipt toggleReceipt
|
||||
xfeCmdViewCookies viewCookies
|
||||
xfeCmdViewSignons viewSignons
|
||||
xfeCmdViewSiteInfo viewSiteInfo
|
||||
xfeCmdViewReceipts viewReceipts
|
||||
xfeCmdPrivacyTutorial privacyTutorial
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче