aboutsummaryrefslogtreecommitdiff
path: root/AppKit/GTMUILocalizerAndLayoutTweaker.m
diff options
context:
space:
mode:
Diffstat (limited to 'AppKit/GTMUILocalizerAndLayoutTweaker.m')
-rw-r--r--AppKit/GTMUILocalizerAndLayoutTweaker.m9
1 files changed, 7 insertions, 2 deletions
diff --git a/AppKit/GTMUILocalizerAndLayoutTweaker.m b/AppKit/GTMUILocalizerAndLayoutTweaker.m
index 1b5d8aa..b8c6499 100644
--- a/AppKit/GTMUILocalizerAndLayoutTweaker.m
+++ b/AppKit/GTMUILocalizerAndLayoutTweaker.m
@@ -59,6 +59,11 @@ static BOOL IsRightAnchored(NSView *view);
// Localize first
[localizer localizeObject:uiObject recursively:YES];
+ // Then tweak!
+ [self tweakUI:uiObject];
+}
+
+- (void)tweakUI:(id)uiObject {
// Figure out where we start
NSView *startView;
if ([uiObject isKindOfClass:[NSWindow class]]) {
@@ -68,8 +73,8 @@ static BOOL IsRightAnchored(NSView *view);
@"should have been a subclass of NSView");
startView = (NSView *)uiObject;
}
-
- // And Tweak!
+
+ // Tweak away!
[self tweakView:startView];
}