Revision: 3785
http://skim-app.svn.sourceforge.net/skim-app/?rev=3785&view=rev
Author: hofman
Date: 2008-04-22 04:58:29 -0700 (Tue, 22 Apr 2008)
Log Message:
-----------
Make sure we move the focus from the active annotation when moving the focus to
the main text.
Modified Paths:
--------------
trunk/PDFDisplayView_SKExtensions.m
Modified: trunk/PDFDisplayView_SKExtensions.m
===================================================================
--- trunk/PDFDisplayView_SKExtensions.m 2008-04-22 11:54:35 UTC (rev 3784)
+++ trunk/PDFDisplayView_SKExtensions.m 2008-04-22 11:58:29 UTC (rev 3785)
@@ -253,6 +253,8 @@
- (void)accessibilitySetValue:(id)value forAttribute:(NSString *)attribute {
if ([parent respondsToSelector:_cmd])
[parent accessibilitySetValue:value forAttribute:attribute];
+ if ([attribute isEqualToString:NSAccessibilityFocusedAttribute] && [value
boolValue] && [[parent skpdfView] activeAnnotation])
+ [[parent skpdfView] setActiveAnnotation:nil];
}
- (NSArray *)accessibilityParameterizedAttributeNames {
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