Revision: 11867
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=11867&view=rev
Author: hofman
Date: 2007-12-11 14:26:32 -0800 (Tue, 11 Dec 2007)
Log Message:
-----------
Fix bracket. Declare Leopard methods on Tiger.
Modified Paths:
--------------
trunk/bibdesk/BDSKEditorTextView.m
trunk/bibdesk/Bibdesk_Prefix.pch
Modified: trunk/bibdesk/BDSKEditorTextView.m
===================================================================
--- trunk/bibdesk/BDSKEditorTextView.m 2007-12-11 21:20:21 UTC (rev 11866)
+++ trunk/bibdesk/BDSKEditorTextView.m 2007-12-11 22:26:32 UTC (rev 11867)
@@ -250,10 +250,10 @@
#warning 10.5: remove URL detection
#endif
// use Apple's link detection on 10.5 and later
- if (floor(NSAppKitVersionNumber <= NSAppKitVersionNumber10_4))
+ if (floor(NSAppKitVersionNumber) <= NSAppKitVersionNumber10_4)
[[self textStorage] setDelegate:self];
else
- [self toggleAutomaticLinkDetection:nil];
+ [self setAutomaticLinkDetectionEnabled:YES];
[self updateFontFromPreferences];
[OFPreference addObserver:self
selector:@selector(handleFontChangedNotification:) forPreference:[OFPreference
preferenceForKey:BDSKEditorFontNameKey]];
}
Modified: trunk/bibdesk/Bibdesk_Prefix.pch
===================================================================
--- trunk/bibdesk/Bibdesk_Prefix.pch 2007-12-11 21:20:21 UTC (rev 11866)
+++ trunk/bibdesk/Bibdesk_Prefix.pch 2007-12-11 22:26:32 UTC (rev 11867)
@@ -81,6 +81,10 @@
- (void)setCacheModel:(int)cacheModel;
@end
[EMAIL PROTECTED] NSTextView (BDSKLeopardOnly)
+- (void)setAutomaticLinkDetectionEnabled:(BOOL)flag;
[EMAIL PROTECTED]
+
#define NSImageNameFollowLinkFreestandingTemplate
@"NSFollowLinkFreestandingTemplate"
#else
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit