summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {