icecat: add release icecat-140.6.0-1gnu1 for ecne
This commit is contained in:
parent
618c9f4145
commit
7d0f5dab3b
3382 changed files with 457689 additions and 569094 deletions
|
|
@ -67,6 +67,13 @@ XPCOMUtils.defineLazyPreferenceGetter(
|
|||
false
|
||||
);
|
||||
|
||||
XPCOMUtils.defineLazyPreferenceGetter(
|
||||
lazy,
|
||||
"gPrintEnabled",
|
||||
"print.enabled",
|
||||
false
|
||||
);
|
||||
|
||||
XPCOMUtils.defineLazyServiceGetter(
|
||||
lazy,
|
||||
"QueryStringStripper",
|
||||
|
|
@ -838,7 +845,8 @@ export class nsContextMenu {
|
|||
"context-print-selection",
|
||||
!this.inAboutDevtoolsToolbox &&
|
||||
this.isContentSelected &&
|
||||
this.selectionInfo.isDocumentLevelSelection
|
||||
this.selectionInfo.isDocumentLevelSelection &&
|
||||
lazy.gPrintEnabled
|
||||
);
|
||||
|
||||
var shouldShow = !(
|
||||
|
|
@ -946,6 +954,8 @@ export class nsContextMenu {
|
|||
this.showItem("context-openframeintab", !this.inSrcdocFrame);
|
||||
this.showItem("context-openframe", !this.inSrcdocFrame);
|
||||
this.showItem("context-bookmarkframe", !this.inSrcdocFrame);
|
||||
this.showItem("context-printframe", lazy.gPrintEnabled);
|
||||
this.showItem("print-frame-sep", lazy.gPrintEnabled);
|
||||
|
||||
// Hide menu entries for images, show otherwise
|
||||
if (this.inFrame) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue