Revision: 15218
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=15218&view=rev
Author:   hofman
Date:     2009-04-28 13:20:50 +0000 (Tue, 28 Apr 2009)

Log Message:
-----------
firstResponder is a property of the window

Modified Paths:
--------------
    trunk/bibdesk/BDSKIconTextFieldCell.m
    trunk/bibdesk/BDSKMainTableView.m

Modified: trunk/bibdesk/BDSKIconTextFieldCell.m
===================================================================
--- trunk/bibdesk/BDSKIconTextFieldCell.m       2009-04-28 13:17:52 UTC (rev 
15217)
+++ trunk/bibdesk/BDSKIconTextFieldCell.m       2009-04-28 13:20:50 UTC (rev 
15218)
@@ -51,7 +51,7 @@
 // Tiger inverts the text color based on the highlight color, which is lame
 - (NSColor *)textColor {
     if ([self respondsToSelector:@selector(backgroundStyle)] == NO && 
-        [[[self controlView] window] isKeyWindow] && [[self controlView] 
firstResponder] == [self controlView])
+        [[[self controlView] window] isKeyWindow] && [[[self controlView] 
window] firstResponder] == [self controlView])
         return [NSColor textBackgroundColor];
     return [super textColor];
 }

Modified: trunk/bibdesk/BDSKMainTableView.m
===================================================================
--- trunk/bibdesk/BDSKMainTableView.m   2009-04-28 13:17:52 UTC (rev 15217)
+++ trunk/bibdesk/BDSKMainTableView.m   2009-04-28 13:20:50 UTC (rev 15218)
@@ -735,7 +735,7 @@
 // Tiger inverts the text color based on the highlight color, which is lame
 - (NSColor *)textColor {
     if ([self respondsToSelector:@selector(backgroundStyle)] == NO && 
-        [[[self controlView] window] isKeyWindow] && [[self controlView] 
firstResponder] == [self controlView])
+        [[[self controlView] window] isKeyWindow] && [[[self controlView] 
window] firstResponder] == [self controlView])
         return [NSColor textBackgroundColor];
     return [super textColor];
 }


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

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to