]> git.saurik.com Git - cydia.git/blobdiff - UICaboodle/BrowserView.mm
Don't bother updating data if we aren't actually, like, changing anything.
[cydia.git] / UICaboodle / BrowserView.mm
index 793fe5d09f9fbe310e4f075ae5e1f2f947d47f09..7c123f9796cd49851c166b7ba29b1bc3f6ca8e06 100644 (file)
@@ -1064,10 +1064,15 @@ 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")];
+           [[loadingitem_ view] addSubview:indicator_];
+        [self applyLoadingTitle];
     } else if (button_) {
         [[self navigationItem] setRightBarButtonItem:[self customButton] animated:YES];
     } else {