aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableContent.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-08-03 15:42:26 +0000
committerstuconnolly <stuart02@gmail.com>2009-08-03 15:42:26 +0000
commit8c8fe9ea6f098aa8c78eb0086974251cf9c09224 (patch)
treef15a8c450b1e9490fe4de9d650cf86a9835b4e33 /Source/TableContent.m
parentfa8bc031af44a2ae8e9d71bddaa2fb7770774b42 (diff)
downloadsequelpro-8c8fe9ea6f098aa8c78eb0086974251cf9c09224.tar.gz
sequelpro-8c8fe9ea6f098aa8c78eb0086974251cf9c09224.tar.bz2
sequelpro-8c8fe9ea6f098aa8c78eb0086974251cf9c09224.zip
Use light gray rather than gray for displaying NULLs and blog/text fields that aren't loaded.
Diffstat (limited to 'Source/TableContent.m')
-rw-r--r--Source/TableContent.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/TableContent.m b/Source/TableContent.m
index 4d8f5e4c..08f0aafb 100644
--- a/Source/TableContent.m
+++ b/Source/TableContent.m
@@ -1882,7 +1882,7 @@
// of the user's NULL value preference which was set in the result array when it was retrieved (see fetchResultAsArray).
// Also, as an added measure check that the table column actually allows NULLs to make sure we don't change a cell that
// happens to have a value matching the NULL placeholder, but the column doesn't allow NULLs.
- [cell setTextColor:([[cell stringValue] isEqualToString:[prefs objectForKey:@"NullValue"]] && [[column objectForKey:@"null"] boolValue]) ? [NSColor grayColor] : [NSColor blackColor]];
+ [cell setTextColor:([[cell stringValue] isEqualToString:[prefs objectForKey:@"NullValue"]] && [[column objectForKey:@"null"] boolValue]) ? [NSColor lightGrayColor] : [NSColor blackColor]];
}
// Check if loading of text/blob fields is disabled
@@ -1903,7 +1903,7 @@
if ([[cell stringValue] isEqualToString:NSLocalizedString(@"(not loaded)", @"value shown for hidden blob and text fields")])
{
// change the text color of the cell to gray
- [cell setTextColor:[NSColor grayColor]];
+ [cell setTextColor:[NSColor lightGrayColor]];
}
else {
// Change the text color back to black