From ffab593752dd8fbd56f7eeb0f7fa666a938ba774 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sat, 14 Nov 2009 13:23:17 +0000 Subject: Bunch of improvements to the query console, including: - New connection column (been meaning to add this for a while) - Display table view column headers - Enable table view text cell line truncating - Allow table view columns to be re-ordered - The table view now respects the display table view vertical grid lines preference - Support for including the connection when saving messages to a file - Support for showing/hiding the connection column - Increase table view row height to match that of all others - Display message time stamps using the user's system wide medium time format --- Source/TableDocument.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/TableDocument.m') diff --git a/Source/TableDocument.m b/Source/TableDocument.m index 8d1bca5f..df856d33 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -172,6 +172,7 @@ [prefs addObserver:tableContentInstance forKeyPath:SPDisplayTableViewVerticalGridlines options:NSKeyValueObservingOptionNew context:NULL]; [prefs addObserver:customQueryInstance forKeyPath:SPDisplayTableViewVerticalGridlines options:NSKeyValueObservingOptionNew context:NULL]; [prefs addObserver:tableRelationsInstance forKeyPath:SPDisplayTableViewVerticalGridlines options:NSKeyValueObservingOptionNew context:NULL]; + [prefs addObserver:[SPQueryController sharedQueryController] forKeyPath:SPDisplayTableViewVerticalGridlines options:NSKeyValueObservingOptionNew context:NULL]; // Register observers for when the logging preference changes [prefs addObserver:[SPQueryController sharedQueryController] forKeyPath:SPConsoleEnableLogging options:NSKeyValueObservingOptionNew context:NULL]; @@ -2142,7 +2143,7 @@ } #pragma mark - -#pragma mark Getter methods +#pragma mark Accessor methods /** * Returns the host -- cgit v1.2.3