From c6da91cb5ff141e96d268b2fa92876b6fcefe4b5 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 git-svn-id: svn://10.0.0.236/trunk@180429 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/toolkit/components/help/content/help.xul | 4 +++- .../components/help/content/helpContextOverlay.xul | 13 ++++++++++++- .../locales/en-US/chrome/mozapps/help/help.dtd | 4 ++++ mozilla/toolkit/themes/winstripe/help/help.css | 4 ++++ 4 files changed, 23 insertions(+), 2 deletions(-) diff --git a/mozilla/toolkit/components/help/content/help.xul b/mozilla/toolkit/components/help/content/help.xul index bdc38c34be3..3f2ea2a5a6b 100644 --- a/mozilla/toolkit/components/help/content/help.xul +++ b/mozilla/toolkit/components/help/content/help.xul @@ -103,7 +103,9 @@ - + + + diff --git a/mozilla/toolkit/components/help/content/helpContextOverlay.xul b/mozilla/toolkit/components/help/content/helpContextOverlay.xul index 21ab5baf4b1..054aca6d658 100644 --- a/mozilla/toolkit/components/help/content/helpContextOverlay.xul +++ b/mozilla/toolkit/components/help/content/helpContextOverlay.xul @@ -44,7 +44,8 @@ # Help Window's right-click menu - + + + + + + + + diff --git a/mozilla/toolkit/themes/winstripe/help/help.css b/mozilla/toolkit/themes/winstripe/help/help.css index 3cdfc4b01ee..70434d52192 100644 --- a/mozilla/toolkit/themes/winstripe/help/help.css +++ b/mozilla/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; +}