From b8cfbfc86ab507ac5c930302e01bc58d15553b61 Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Fri, 16 Sep 2005 20:08:23 +0000 Subject: [PATCH] Add context menu "copy" option to help. Bug 298950, patch by Martijn Wargers , r=mconnor --- toolkit/components/help/content/help.xul | 4 +++- .../components/help/content/helpContextOverlay.xul | 13 ++++++++++++- toolkit/locales/en-US/chrome/mozapps/help/help.dtd | 4 ++++ toolkit/themes/winstripe/help/help.css | 4 ++++ 4 files changed, 23 insertions(+), 2 deletions(-) diff --git a/toolkit/components/help/content/help.xul b/toolkit/components/help/content/help.xul index bdc38c34be33..3f2ea2a5a6b0 100644 --- a/toolkit/components/help/content/help.xul +++ b/toolkit/components/help/content/help.xul @@ -103,7 +103,9 @@ - + + + diff --git a/toolkit/components/help/content/helpContextOverlay.xul b/toolkit/components/help/content/helpContextOverlay.xul index 21ab5baf4b1b..054aca6d658e 100644 --- a/toolkit/components/help/content/helpContextOverlay.xul +++ b/toolkit/components/help/content/helpContextOverlay.xul @@ -44,7 +44,8 @@ # Help Window's right-click menu - + + + + + + + + diff --git a/toolkit/themes/winstripe/help/help.css b/toolkit/themes/winstripe/help/help.css index 3cdfc4b01ee1..70434d521926 100644 --- a/toolkit/themes/winstripe/help/help.css +++ b/toolkit/themes/winstripe/help/help.css @@ -68,3 +68,7 @@ menubutton:not([disabled="true"]):hover:active { #help-print-button { -moz-image-region: rect(0px 96px 24px 72px); } #help-print-button:hover { -moz-image-region: rect(24px 96px 48px 72px); } + +#context-copy[disabled="true"] { + visibility: collapse; +}