Revision: 13304
          http://sourceforge.net/p/skim-app/code/13304
Author:   hofman
Date:     2023-02-25 16:26:16 +0000 (Sat, 25 Feb 2023)
Log Message:
-----------
set popup to nil rather than returning nil, the page does not use the public 
accessor to get the popup aparently

Modified Paths:
--------------
    trunk/SKNPDFAnnotationNote_SKExtensions.m

Modified: trunk/SKNPDFAnnotationNote_SKExtensions.m
===================================================================
--- trunk/SKNPDFAnnotationNote_SKExtensions.m   2023-02-25 16:17:54 UTC (rev 
13303)
+++ trunk/SKNPDFAnnotationNote_SKExtensions.m   2023-02-25 16:26:16 UTC (rev 
13304)
@@ -89,6 +89,7 @@
         [self setIconType:[[NSUserDefaults standardUserDefaults] 
integerForKey:SKAnchoredNoteIconTypeKey]];
         [texts release];
         texts = [[NSArray alloc] initWithObjects:[[[SKNoteText alloc] 
initWithNote:self] autorelease], nil];
+        [self setPopup:nil];
     }
     return self;
 }
@@ -102,8 +103,6 @@
 // override these Leopard methods to avoid showing the standard tool tips over 
our own
 - (NSString *)toolTip { return @""; }
 
-- (PDFAnnotationPopup *)popup { return nil; }
-
 - (BOOL)hasNoteText { return YES; }
 
 - (SKNoteText *)noteText {

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