summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm10
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];
}