Revision: 3798
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3798&view=rev
Author:   hofman
Date:     2008-04-23 03:10:59 -0700 (Wed, 23 Apr 2008)

Log Message:
-----------
Ignore notes for accessibility when they're hidden.

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

Modified: trunk/SKAccessibilityPDFAnnotationElement.m
===================================================================
--- trunk/SKAccessibilityPDFAnnotationElement.m 2008-04-23 09:50:39 UTC (rev 
3797)
+++ trunk/SKAccessibilityPDFAnnotationElement.m 2008-04-23 10:10:59 UTC (rev 
3798)
@@ -139,7 +139,7 @@
 }
 
 - (BOOL)accessibilityIsIgnored {
-    return NO;
+    return [[annotation type] isEqualtoString:SKLinkString] || [[parent 
skpdfView] hideNotes] == NO;
 }
 
 - (id)accessibilityHitTest:(NSPoint)point {


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 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to