diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-14 07:17:45 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-14 07:41:21 -0700 |
commit | 76380d62f2508e88f8ee0a4fd43ee7709b5beb4c (patch) | |
tree | c8aaf521f119230b3874a1a7656ecba91b01f1f1 /MobileCydia.mm | |
parent | 2d5f3bfcb480536bdc9ecca29ce50267078d3f73 (diff) |
Witness the return of manage.html and cydia://storage.v1.1.0%b7
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 3e13cbc..3668fc1 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -6546,7 +6546,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { - (id) init { if ((self = [super init]) != nil) { - [self setURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@/#!/manage/", UI_]]]; + [self setURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"manage" ofType:@"html"]]]; } return self; } @@ -6571,13 +6571,13 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { [delegate_ queue]; } -- (UIBarButtonItem *) customButton { +- (UIBarButtonItem *) rightButton { return Queuing_ ? [[[UIBarButtonItem alloc] initWithTitle:UCLocalize("QUEUE") style:UIBarButtonItemStyleDone target:self action:@selector(queueButtonClicked) - ] autorelease] : [super customButton]; + ] autorelease] : nil; } - (void) queueStatusDidChange { @@ -9498,6 +9498,10 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { controller = [[[ManageController alloc] init] autorelease]; } + if ([base isEqualToString:@"storage"]) { + controller = [[[CydiaWebViewController alloc] initWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@/storage/", UI_]]] autorelease]; + } + if ([base isEqualToString:@"sources"]) { controller = [[[SourcesController alloc] initWithDatabase:database_] autorelease]; } |