aboutsummaryrefslogtreecommitdiffstats
path: root/Source/DMLocalizedNibBundle.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-07-06 11:37:01 +0000
committerrowanbeentje <rowan@beent.je>2010-07-06 11:37:01 +0000
commitb5fa14109a046aee489d93e39897a30579df22f4 (patch)
treeb5c6c3fbeaec5ed4c0b2db65910913f466841486 /Source/DMLocalizedNibBundle.m
parentcbb000b5a9697e6628d47cd90ea7dd7c8ab39bab (diff)
downloadsequelpro-b5fa14109a046aee489d93e39897a30579df22f4.tar.gz
sequelpro-b5fa14109a046aee489d93e39897a30579df22f4.tar.bz2
sequelpro-b5fa14109a046aee489d93e39897a30579df22f4.zip
- Correctly fix localisation of NSTabViewItem tooltips, restoring 10.5 compatibility; this corrects the "fix" in r2422, and addresses Issue #757
Diffstat (limited to 'Source/DMLocalizedNibBundle.m')
-rw-r--r--Source/DMLocalizedNibBundle.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/DMLocalizedNibBundle.m b/Source/DMLocalizedNibBundle.m
index 247b09a8..f4922be6 100644
--- a/Source/DMLocalizedNibBundle.m
+++ b/Source/DMLocalizedNibBundle.m
@@ -202,7 +202,7 @@ static NSMutableArray *deliciousBindingKeys = nil;
NSTabView *tabView = (NSTabView *)view;
for (NSTabViewItem *tabViewItem in [tabView tabViewItems]) {
[self _localizeLabelOfObject:tabViewItem table:table];
- if ([tabView respondsToSelector:@selector(toolTip)]) // 10.6+
+ if ([tabViewItem respondsToSelector:@selector(toolTip)]) // 10.6+
[self _localizeToolTipOfObject:tabViewItem table:table];
[self _localizeStringsInObject:[tabViewItem view] table:table];
}