summaryrefslogtreecommitdiff
path: root/UICaboodle/BrowserView.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-23 18:13:36 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:12 -0800
commitb8a5d89d89d8662536b2f651fae0598f21ea17bd (patch)
tree81a39779fc54b30381a54fa70aa174f5ecbfc092 /UICaboodle/BrowserView.mm
parent59befad5fa491ab8e084f7d1e81a2a7430f0f179 (diff)
Added cydia.setHidesBackButton().
Diffstat (limited to 'UICaboodle/BrowserView.mm')
-rw-r--r--UICaboodle/BrowserView.mm8
1 files changed, 8 insertions, 0 deletions
diff --git a/UICaboodle/BrowserView.mm b/UICaboodle/BrowserView.mm
index d5116cf..2a05005 100644
--- a/UICaboodle/BrowserView.mm
+++ b/UICaboodle/BrowserView.mm
@@ -1170,6 +1170,14 @@ static void $UIWebViewWebViewDelegate$webViewClose$(UIWebViewWebViewDelegate *se
return 980;
}
+- (void) setHidesBackButton:(bool)value {
+ [[self navigationItem] setHidesBackButton:value];
+}
+
+- (void) setHidesBackButtonByNumber:(NSNumber *)value {
+ [self setHidesBackButton:[value boolValue]];
+}
+
- (void) dispatchEvent:(NSString *)event {
WebThreadLocked lock;