Revision: 15971
          http://sourceforge.net/p/skim-app/code/15971
Author:   hofman
Date:     2026-01-07 18:02:13 +0000 (Wed, 07 Jan 2026)
Log Message:
-----------
disable printDocument: for all pdfviews

Modified Paths:
--------------
    trunk/SKBasePDFView.m
    trunk/SKPDFView.m
    trunk/Skim.xcodeproj/project.pbxproj

Modified: trunk/SKBasePDFView.m
===================================================================
--- trunk/SKBasePDFView.m       2026-01-07 16:44:55 UTC (rev 15970)
+++ trunk/SKBasePDFView.m       2026-01-07 18:02:13 UTC (rev 15971)
@@ -195,6 +195,9 @@
     return aSelector != @selector(printDocument:) && [super 
respondsToSelector:aSelector];
 }
 
+// we don't want to steal the printDocument: action from the responder chain
+- (void)printDocument:(id)sender{}
+
 // PDFView has duplicated key equivalents for Cmd-+/- as well as Opt-Cmd-+/-, 
which is totoally unnecessary and harmful
 - (BOOL)performKeyEquivalent:(NSEvent *)theEvent { return NO; }
 

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2026-01-07 16:44:55 UTC (rev 15970)
+++ trunk/SKPDFView.m   2026-01-07 18:02:13 UTC (rev 15971)
@@ -1414,9 +1414,6 @@
     [self setPhysicalScaleFactor:1.0];
 }
 
-// we don't want to steal the printDocument: action from the responder chain
-- (void)printDocument:(id)sender{}
-
 - (BOOL)canZoomIn {
     return [[self document] isLocked] == NO && [super canZoomIn];
 }

Modified: trunk/Skim.xcodeproj/project.pbxproj
===================================================================
--- trunk/Skim.xcodeproj/project.pbxproj        2026-01-07 16:44:55 UTC (rev 
15970)
+++ trunk/Skim.xcodeproj/project.pbxproj        2026-01-07 18:02:13 UTC (rev 
15971)
@@ -25,7 +25,6 @@
                4530D7E80B27AAB9007C59F4 /* SKSnapshotWindowController.m in 
Sources */ = {isa = PBXBuildFile; fileRef = 4530D7E70B27AAB9007C59F4 /* 
SKSnapshotWindowController.m */; };
                4530D7EF0B27AAD6007C59F4 /* SKMainWindowController.m in Sources 
*/ = {isa = PBXBuildFile; fileRef = 4530D7EE0B27AAD6007C59F4 /* 
SKMainWindowController.m */; };
                4530D8C90B27B04D007C59F4 /* SKApplicationController.m in 
Sources */ = {isa = PBXBuildFile; fileRef = 4530D8C80B27B04D007C59F4 /* 
SKApplicationController.m */; };
-               4530DCF70B27CACE007C59F4 /* SKPDFView.m in Sources */ = {isa = 
PBXBuildFile; fileRef = 4530DCF60B27CACE007C59F4 /* SKPDFView.m */; };
                455989F80B2662FF00E5419B /* Quartz.framework in Frameworks */ = 
{isa = PBXBuildFile; fileRef = 455989F70B2662FF00E5419B /* Quartz.framework */; 
};
                45A3BD080B4F0770002B297F /* SKStringConstants.m in Sources */ = 
{isa = PBXBuildFile; fileRef = 45A3BD070B4F0770002B297F /* SKStringConstants.m 
*/; };
                45A3BD390B4F097D002B297F /* InitialUserDefaults.plist in 
Resources */ = {isa = PBXBuildFile; fileRef = 45A3BD380B4F097D002B297F /* 
InitialUserDefaults.plist */; };
@@ -108,6 +107,7 @@
                CE3401E00E01378A00A7FFE6 /* NSAttributedString_SKExtensions.m 
in Sources */ = {isa = PBXBuildFile; fileRef = CE3401DF0E01378A00A7FFE6 /* 
NSAttributedString_SKExtensions.m */; };
                CE3401E60E01388700A7FFE6 /* NSNumber_SKExtensions.m in Sources 
*/ = {isa = PBXBuildFile; fileRef = CE3401E50E01388700A7FFE6 /* 
NSNumber_SKExtensions.m */; };
                CE34FFA80DFF58FB00A7FFE6 /* NSEvent_SKExtensions.m in Sources 
*/ = {isa = PBXBuildFile; fileRef = CE34FFA70DFF58FB00A7FFE6 /* 
NSEvent_SKExtensions.m */; };
+               CE37692E2F0ECE37000700F5 /* SKPDFView.m in Sources */ = {isa = 
PBXBuildFile; fileRef = 4530DCF60B27CACE007C59F4 /* SKPDFView.m */; };
                CE38ECD30B8093B200A1B779 /* NSString_SKExtensions.m in Sources 
*/ = {isa = PBXBuildFile; fileRef = CE38ECD20B8093B200A1B779 /* 
NSString_SKExtensions.m */; };
                CE38F8B92EE4EC07006B6441 /* SKSearchFieldCell.m in Sources */ = 
{isa = PBXBuildFile; fileRef = CE38F8B82EE4EC07006B6441 /* SKSearchFieldCell.m 
*/; };
                CE3A3D2C0B78C0A0006B64D3 /* SKNPDFAnnotationNote_SKExtensions.m 
in Sources */ = {isa = PBXBuildFile; fileRef = CE3A3D2B0B78C0A0006B64D3 /* 
SKNPDFAnnotationNote_SKExtensions.m */; };
@@ -2794,7 +2794,6 @@
                                4530D8C90B27B04D007C59F4 /* 
SKApplicationController.m in Sources */,
                                CE21F736239944990078B257 /* SKColorMenuView.m 
in Sources */,
                                CE325592226F73810032390F /* 
SKAnnotationTypeImageView.m in Sources */,
-                               4530DCF70B27CACE007C59F4 /* SKPDFView.m in 
Sources */,
                                CE38F8B92EE4EC07006B6441 /* SKSearchFieldCell.m 
in Sources */,
                                CE546FC40B32D5DB00F8AFB6 /* 
SKNoteWindowController.m in Sources */,
                                CEED148C2709EE4D00A8C4AA /* SKBasePDFView.m in 
Sources */,
@@ -2977,6 +2976,7 @@
                                CE40D6161677A9DC00573882 /* SKTextNoteEditor.m 
in Sources */,
                                CE2083E416ADFFD600BC5AFB /* SKAlias.m in 
Sources */,
                                CE26175F16CCFC4900BDCE7C /* SKSyncDot.m in 
Sources */,
+                               CE37692E2F0ECE37000700F5 /* SKPDFView.m in 
Sources */,
                                CEA5BAFE2424CAE100801B2E /* SKOverviewView.m in 
Sources */,
                                CE19641516E811D40027E2CF /* SKSnapshotWindow.m 
in Sources */,
                                CED76F011A1825DE00D1ACA4 /* SKScrollView.m in 
Sources */,

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to