]> git.saurik.com Git - cydia.git/blobdiff - UICaboodle/RVBook.mm
Timeouts, update cancel, update /bar/, webkit stability, url throttling.
[cydia.git] / UICaboodle / RVBook.mm
index d83d7608051339e163aa3eb911f5ecfec43ee887..9315cae91c1e14dd39418acadd963ced754b52fd 100644 (file)
@@ -8,6 +8,14 @@
 #import <UIKit/UIView-Geometry.h>
 #import <UIKit/UIView-Hierarchy.h>
 
 #import <UIKit/UIView-Geometry.h>
 #import <UIKit/UIView-Hierarchy.h>
 
+#import <Foundation/Foundation.h>
+#import <CoreGraphics/CGGeometry.h>
+
+#include <cstdio>
+#include <cstdlib>
+
+#include <errno.h>
+
 #import "RVPage.h"
 
 @implementation RVBook
 #import "RVPage.h"
 
 @implementation RVBook
     [pages_ addObject:page];
     [self reloadButtonsForPage:page];
 
     [pages_ addObject:page];
     [self reloadButtonsForPage:page];
 
-    if ([navbar_ respondsToSelector:@selector(setAccessoryView:animate:goingBack:)])
-        [navbar_ setAccessoryView:[page accessoryView] animate:animated goingBack:NO];
-    else
-        [navbar_ setAccessoryView:[page accessoryView] animate:animated removeOnPop:NO];
+    [navbar_ setAccessoryView:[page accessoryView] animate:animated removeOnPop:NO];
 }
 
 - (void) popPages:(unsigned)pages {
 }
 
 - (void) popPages:(unsigned)pages {
     [page setPageActive:YES];
     [self reloadButtonsForPage:page];
 
     [page setPageActive:YES];
     [self reloadButtonsForPage:page];
 
-    if ([navbar_ respondsToSelector:@selector(setAccessoryView:animate:goingBack:)])
-        [navbar_ setAccessoryView:[page accessoryView] animate:animated goingBack:YES];
-    else
-        [navbar_ setAccessoryView:[page accessoryView] animate:animated removeOnPop:NO];
+    [navbar_ setAccessoryView:[page accessoryView] animate:animated removeOnPop:NO];
 }
 
 - (void) setTitle:(NSString *)title forPage:(RVPage *)page {
 }
 
 - (void) setTitle:(NSString *)title forPage:(RVPage *)page {