aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPProcessListController.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-10-19 23:37:15 +0000
committerstuconnolly <stuart02@gmail.com>2010-10-19 23:37:15 +0000
commitb2461e0658f6deebf2b4a24e261fadb99f5125c6 (patch)
treefea57ce1afb8986d4b20c2abfd27ebd4b6ca36d5 /Source/SPProcessListController.m
parent10990abb16783d89e5314549883fc1e5acc2e407 (diff)
downloadsequelpro-b2461e0658f6deebf2b4a24e261fadb99f5125c6.tar.gz
sequelpro-b2461e0658f6deebf2b4a24e261fadb99f5125c6.tar.bz2
sequelpro-b2461e0658f6deebf2b4a24e261fadb99f5125c6.zip
Tidy up.
Diffstat (limited to 'Source/SPProcessListController.m')
-rw-r--r--Source/SPProcessListController.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPProcessListController.m b/Source/SPProcessListController.m
index 378a7538..20c1c4c6 100644
--- a/Source/SPProcessListController.m
+++ b/Source/SPProcessListController.m
@@ -28,7 +28,7 @@
#import "SPDatabaseDocument.h"
#import "SPAlertSheets.h"
-#define TABLEVIEW_ID_COLUMN_IDENTIFIER @"Id"
+static const NSString *SPTableViewIDColumnIdentifier = @"Id";
@interface SPProcessListController (PrivateAPI)
@@ -80,7 +80,7 @@
[self setWindowFrameAutosaveName:@"ProcessList"];
// Show/hide table columns
- [[processListTableView tableColumnWithIdentifier:TABLEVIEW_ID_COLUMN_IDENTIFIER] setHidden:![prefs boolForKey:SPProcessListShowProcessID]];
+ [[processListTableView tableColumnWithIdentifier:SPTableViewIDColumnIdentifier] setHidden:![prefs boolForKey:SPProcessListShowProcessID]];
// Set the process table view's vertical gridlines if required
[processListTableView setGridStyleMask:([prefs boolForKey:SPDisplayTableViewVerticalGridlines]) ? NSTableViewSolidVerticalGridLineMask : NSTableViewGridNone];
@@ -284,7 +284,7 @@
*/
- (IBAction)toggleShowProcessID:(id)sender
{
- [[processListTableView tableColumnWithIdentifier:TABLEVIEW_ID_COLUMN_IDENTIFIER] setHidden:([sender state])];
+ [[processListTableView tableColumnWithIdentifier:SPTableViewIDColumnIdentifier] setHidden:([sender state])];
}
/**