icecat: add release icecat-140.6.0-1gnu1 for ecne

This commit is contained in:
Ark74 2026-01-17 19:26:27 -06:00
parent 618c9f4145
commit 7d0f5dab3b
3382 changed files with 457689 additions and 569094 deletions

View file

@ -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) {