Revision: 29764
          http://sourceforge.net/p/bibdesk/svn/29764
Author:   hofman
Date:     2025-11-06 17:03:04 +0000 (Thu, 06 Nov 2025)
Log Message:
-----------
Use labelColor instead of controlTextColor in code

Modified Paths:
--------------
    trunk/bibdesk/BDSKTypeTemplate.m
    trunk/bibdesk/BibDocument_DataSource.m
    trunk/bibdesk/BibPref_Export.m

Modified: trunk/bibdesk/BDSKTypeTemplate.m
===================================================================
--- trunk/bibdesk/BDSKTypeTemplate.m    2025-11-06 16:54:56 UTC (rev 29763)
+++ trunk/bibdesk/BDSKTypeTemplate.m    2025-11-06 17:03:04 UTC (rev 29764)
@@ -70,7 +70,7 @@
 #pragma mark Accessors
 
 - (NSColor *)textColor {
-    NSColor *color = [NSColor controlTextColor];
+    NSColor *color = [NSColor labelColor];
     if ([[self itemTemplate] count] == 0) {
         if ([self isIncluded] || [self isDefaultTemplate])
             color = [NSColor systemRedColor];

Modified: trunk/bibdesk/BibDocument_DataSource.m
===================================================================
--- trunk/bibdesk/BibDocument_DataSource.m      2025-11-06 16:54:56 UTC (rev 
29763)
+++ trunk/bibdesk/BibDocument_DataSource.m      2025-11-06 17:03:04 UTC (rev 
29764)
@@ -149,7 +149,7 @@
         if ([field isEqualToString:BDSKCiteKeyString] && [pub 
isValidCiteKey:[pub citeKey]] == NO)
             [textField setTextColor:[NSColor systemRedColor]];
         else
-            [textField setTextColor:[NSColor controlTextColor]];
+            [textField setTextColor:[NSColor labelColor]];
         [textField setObjectValue:value];
     } else if (textField == nil) {
         NSImage *image = nil;

Modified: trunk/bibdesk/BibPref_Export.m
===================================================================
--- trunk/bibdesk/BibPref_Export.m      2025-11-06 16:54:56 UTC (rev 29763)
+++ trunk/bibdesk/BibPref_Export.m      2025-11-06 17:03:04 UTC (rev 29764)
@@ -233,7 +233,7 @@
         value = [BDSKTemplate localizedRoleString:value];
     [textField setObjectValue:value];
     
-    NSColor *color = [NSColor controlTextColor];
+    NSColor *color = [NSColor labelColor];
     NSFont *font = [NSFont labelFontOfSize:11.0];
     
     if ([item isLeaf] == NO) {

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



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to