diff options
author | Grant Paul <chpwn@chpwn.com> | 2010-09-23 16:36:19 -0700 |
---|---|---|
committer | Jay Freeman <saurik@Jay-Freemans-MacBook-Pro.local> | 2010-10-04 00:12:20 -0700 |
commit | 2fad210a379c5b3b8c74a9607d36f636a61a4a46 (patch) | |
tree | 15b455db8a5d783d7169a59029b54efdfc1378c7 /UICaboodle | |
parent | 2e6c1426b817fe8236e916ef74646b9e358173fd (diff) |
more browserview/cydia
Diffstat (limited to 'UICaboodle')
-rw-r--r-- | UICaboodle/BrowserView.mm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/UICaboodle/BrowserView.mm b/UICaboodle/BrowserView.mm index 793fe5d..dbdc8f4 100644 --- a/UICaboodle/BrowserView.mm +++ b/UICaboodle/BrowserView.mm @@ -1064,10 +1064,14 @@ static Class $UIWebBrowserView; return [customItem autorelease]; } +- (void) applyLoadingTitle { + [[self navigationItem] setTitle:UCLocalize("LOADING")]; +} + - (void) applyRightButton { if ([self isLoading]) { [[self navigationItem] setRightBarButtonItem:loadingitem_ animated:YES]; - [[self navigationItem] setTitle:UCLocalize("LOADING")]; + [self applyLoadingTitle]; } else if (button_) { [[self navigationItem] setRightBarButtonItem:[self customButton] animated:YES]; } else { |