summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-24 08:56:10 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:15 -0800
commit52498c7e59d6854bad363b67acd1359e25209c46 (patch)
treecfc9b050d02cfcda95deadd996019908e1a255d0 /MobileCydia.mm
parent1571ba628b9027d69c61d4cb58be0ed11bc0bc6a (diff)
Add -[BrowserController _allowNavigationAction] to limit _top usage.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm5
1 files changed, 5 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 015e071..aa9b342 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -5919,6 +5919,11 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
return [NSURL URLWithString:[NSString stringWithFormat:@"cydia://package/%@", name_]];
}
+- (bool) _allowNavigationAction {
+ // XXX: damn it... I really want this.
+ return true;
+}
+
/* XXX: this is not safe at all... localization of /fail/ */
- (void) _clickButtonWithName:(NSString *)name {
if ([name isEqualToString:UCLocalize("CLEAR")])