summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Paul <chpwn@chpwn.com>2010-09-23 16:36:19 -0700
committerJay Freeman <saurik@Jay-Freemans-MacBook-Pro.local>2010-10-04 00:12:20 -0700
commit2fad210a379c5b3b8c74a9607d36f636a61a4a46 (patch)
tree15b455db8a5d783d7169a59029b54efdfc1378c7
parent2e6c1426b817fe8236e916ef74646b9e358173fd (diff)
more browserview/cydia
-rw-r--r--Cydia.mm6
-rw-r--r--UICaboodle/BrowserView.mm6
2 files changed, 10 insertions, 2 deletions
diff --git a/Cydia.mm b/Cydia.mm
index 02c2ae9..f42afe3 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 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 {