diff options
author | stuconnolly <stuart02@gmail.com> | 2011-03-07 20:12:52 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2011-03-07 20:12:52 +0000 |
commit | 1e5288e9840e201a00bcb5ca3035d7aa807f1f8d (patch) | |
tree | 0c1a47953f57b71c41cc7a63e156629c6c9d645b /Source/SPProcessListController.m | |
parent | 915a3831525bf3a9350648d82f86dd54ae366292 (diff) | |
download | sequelpro-1e5288e9840e201a00bcb5ca3035d7aa807f1f8d.tar.gz sequelpro-1e5288e9840e201a00bcb5ca3035d7aa807f1f8d.tar.bz2 sequelpro-1e5288e9840e201a00bcb5ca3035d7aa807f1f8d.zip |
Bring outline view branch up to date with trunk (r3203:r3224).
Diffstat (limited to 'Source/SPProcessListController.m')
-rw-r--r-- | Source/SPProcessListController.m | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/SPProcessListController.m b/Source/SPProcessListController.m index d6b5c186..fdef96bb 100644 --- a/Source/SPProcessListController.m +++ b/Source/SPProcessListController.m @@ -26,6 +26,7 @@ #import "SPProcessListController.h" #import "SPDatabaseDocument.h" #import "SPAlertSheets.h" +#import "SPAppController.h" // Constants static const NSString *SPKillProcessQueryMode = @"SPKillProcessQueryMode"; @@ -77,7 +78,7 @@ static const NSString *SPTableViewIDColumnIdentifier = @"Id"; */ - (void)awakeFromNib { - [[self window] setTitle:[NSString stringWithFormat:@"%@ %@", [[[NSApp delegate] frontDocument] name], NSLocalizedString(@"Server Processes", @"server processes window title")]]; + [[self window] setTitle:[NSString stringWithFormat:@"%@ %@", [[(SPAppController*)[NSApp delegate] frontDocument] name], NSLocalizedString(@"Server Processes", @"server processes window title")]]; [self setWindowFrameAutosaveName:@"ProcessList"]; @@ -647,7 +648,7 @@ static const NSString *SPTableViewIDColumnIdentifier = @"Id"; } // If a match wasn't found then a custom value is set - if (!found) [[items objectAtIndex:([items count] - 1)] setState:NSOnState]; + if (!found) [(NSMenuItem*)[items objectAtIndex:([items count] - 1)] setState:NSOnState]; } /** |