]> git.saurik.com Git - cydia.git/blobdiff - UICaboodle/RVPage.mm
Remove (non-functional) shake-to-undo mechanism.
[cydia.git] / UICaboodle / RVPage.mm
index aecf0d3bcdcd53c3887523b3170fb10b188715d1..4a8ea5de01e40ce518a7edc06b0c8fa37d5e85d4 100644 (file)
@@ -5,10 +5,17 @@
 
 #import "RVBook.h"
 
-@implementation UCViewController 
+@implementation CYViewController
 - (void)setDelegate:(id)delegate {
-       delegate_ = delegate;
+    delegate_ = delegate;
 }
 - (void) reloadData {
 }
-@end
\ No newline at end of file
+- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)orientation {
+    if ([self parentViewController]) {
+        return [[self parentViewController] shouldAutorotateToInterfaceOrientation:orientation];
+    } else {
+        return [super shouldAutorotateToInterfaceOrientation:orientation];
+    }
+}
+@end