Revision: 5020
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5020&view=rev
Author:   hofman
Date:     2008-12-02 12:40:18 +0000 (Tue, 02 Dec 2008)

Log Message:
-----------
Only fix relative links on Toger, as this should work on Leopard

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2008-12-02 11:09:56 UTC (rev 5019)
+++ trunk/SKPDFView.m   2008-12-02 12:40:18 UTC (rev 5020)
@@ -358,7 +358,8 @@
         [NSGraphicsContext restoreGraphicsState];
     }
     
-    [[pdfPage annotations] 
makeObjectsPerformSelector:@selector(fixRelativeURLIfNeeded)];
+    if (floor(NSAppKitVersionNumber) <= NSAppKitVersionNumber10_4)
+        [[pdfPage annotations] 
makeObjectsPerformSelector:@selector(fixRelativeURLIfNeeded)];
     
     if ([[activeAnnotation page] isEqual:pdfPage]) {
         BOOL isLink = [activeAnnotation isLink];


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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to