From: Grant Paul Date: Thu, 23 Sep 2010 23:36:19 +0000 (-0700) Subject: more browserview/cydia X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/b36becfcc8ef1f7b83aaf06c1ba6cf91d9904a12 more browserview/cydia --- diff --git a/Cydia.mm b/Cydia.mm index 02c2ae9a..f42afe3e 100644 --- a/Cydia.mm +++ b/Cydia.mm @@ -5264,7 +5264,11 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { } - (void) reloadButtonClicked { - // You don't reload a package view by clicking the button. + // Don't reload a package view by clicking the button. +} + +- (void) applyLoadingTitle { + // Don't show "Loading" as the title. Ever. } #endif diff --git a/UICaboodle/BrowserView.mm b/UICaboodle/BrowserView.mm index 793fe5d0..dbdc8f41 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 {