Revision: 29763
http://sourceforge.net/p/bibdesk/svn/29763
Author: hofman
Date: 2025-11-06 16:54:56 +0000 (Thu, 06 Nov 2025)
Log Message:
-----------
reinstate path color binding for filer errors
Modified Paths:
--------------
trunk/bibdesk/BDSKPathColorTransformer.m
trunk/bibdesk/Base.lproj/AutoFile.xib
Modified: trunk/bibdesk/BDSKPathColorTransformer.m
===================================================================
--- trunk/bibdesk/BDSKPathColorTransformer.m 2025-11-06 16:48:28 UTC (rev
29762)
+++ trunk/bibdesk/BDSKPathColorTransformer.m 2025-11-06 16:54:56 UTC (rev
29763)
@@ -58,7 +58,7 @@
if (statusFlag & BDSKFilerErrorSourceFileDoesNotExist) {
return [NSColor disabledControlTextColor];
} else {
- return [NSColor controlTextColor];
+ return [NSColor labelColor];
}
}
@@ -78,11 +78,11 @@
- (id)transformedValue:(id)flag {
NSInteger statusFlag = [flag integerValue];
if (statusFlag & BDSKFilerErrorTargetFileExists) {
- return [NSColor controlTextColor];
+ return [NSColor labelColor];
} else if (statusFlag & BDSKFilerErrorIncompleteFields) {
return [NSColor systemRedColor];
} else {
- return [NSColor controlTextColor];
+ return [NSColor labelColor];
}
}
Modified: trunk/bibdesk/Base.lproj/AutoFile.xib
===================================================================
--- trunk/bibdesk/Base.lproj/AutoFile.xib 2025-11-06 16:48:28 UTC (rev
29762)
+++ trunk/bibdesk/Base.lproj/AutoFile.xib 2025-11-06 16:54:56 UTC (rev
29763)
@@ -159,6 +159,11 @@
<string key="NSValueTransformerName">BDSKFilePathTransformer</string>
</dictionary>
</binding>
+ <binding
destination="Fu3-OG-IFA" name="textColor" keyPath="objectValue.flag"
id="yfd-BA-c1l">
+
<dictionary key="options">
+
<string key="NSValueTransformerName">BDSKOldPathColorTransformer</string>
+
</dictionary>
+ </binding>
</connections>
</textField>
</subviews>
@@ -220,6 +225,11 @@
<string key="NSValueTransformerName">BDSKFilePathTransformer</string>
</dictionary>
</binding>
+ <binding
destination="Fe0-jY-Vf0" name="textColor" keyPath="objectValue.flag"
id="nuu-mM-pGu">
+
<dictionary key="options">
+
<string key="NSValueTransformerName">BDSKNewPathColorTransformer</string>
+
</dictionary>
+ </binding>
</connections>
</textField>
</subviews>
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