diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-10-29 22:52:44 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-10-29 22:52:44 +0000 |
commit | 8a061fc1d3903ca61ab6287ce822ab8d500ce4bb (patch) | |
tree | 217ed443792333a0c8d1f900760714a672be6691 /Source/SPUserManager.m | |
parent | c9b0e698e7d2bcdbe7257555f54de62241db0531 (diff) | |
download | sequelpro-8a061fc1d3903ca61ab6287ce822ab8d500ce4bb.tar.gz sequelpro-8a061fc1d3903ca61ab6287ce822ab8d500ce4bb.tar.bz2 sequelpro-8a061fc1d3903ca61ab6287ce822ab8d500ce4bb.zip |
• enabled Find Panel inside Field Editor Sheet's textView
- to enable Find Panel in such a NSTextView which will be displayed in a sheet one has to do the following:
* [main problem is that Find Panel validates its buttons against [[NSApp mainWindow] firstResponder] == NSTextView]
* subclass the NSTextView and add the methods becomeFirstResponder and resignFirstResponder which has to return YES
* since the last first responder remains the first mainWindow responder status one has to set [[NSApp mainWindow] makeFirstResponder:theTextView] directly after displaying the sheet
• corrected SPUserManager message in (IBAction)removeHost:
Diffstat (limited to 'Source/SPUserManager.m')
-rw-r--r-- | Source/SPUserManager.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPUserManager.m b/Source/SPUserManager.m index f947568e..d8851c3c 100644 --- a/Source/SPUserManager.m +++ b/Source/SPUserManager.m @@ -739,7 +739,7 @@ static const NSString *SPTableViewNameColumnID = @"NameColumn"; { SPBeginAlertSheet(NSLocalizedString(@"Unable to remove host", @"error removing host message"), NSLocalizedString(@"OK", @"OK button"), nil, nil, [self window], self, nil, nil, - NSLocalizedString(@"This user doesn't seem have any hosts associated with it. The user will be removed unless one is added", @"error removing host informative message")); + NSLocalizedString(@"This user doesn't seem to have any associated hosts and will be removed unless a host is added.", @"error removing host informative message")); } } |