summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-07 16:19:44 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-02-07 16:44:03 -0800
commit0923b87ee43c7afe083cb513c887b58515ff3413 (patch)
tree2ba82530a521601fd491f6f7ec199b22f3e42ae0 /MobileCydia.mm
parent903b106e46d15375c493833c71cbe7408efe0363 (diff)
OMG HTML5 Offline FTW.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm11
1 files changed, 3 insertions, 8 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index b809c80..4277e57 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -5508,7 +5508,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
if ((self = [super init]) != nil) {
database_ = database;
buttons_ = [[NSMutableArray alloc] initWithCapacity:4];
- [self loadURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"package" ofType:@"html"]]];
+ [self loadURL:[NSURL URLWithString:CydiaURL(@"ui/package/")]];
} return self;
}
@@ -6011,7 +6011,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
- (id) init {
if ((self = [super init]) != nil) {
- [self loadURL:[NSURL URLWithString:CydiaURL(@"")]];
+ [self loadURL:[NSURL URLWithString:CydiaURL(@"ui/home/")]];
[[self navigationItem] setLeftBarButtonItem:[[[UIBarButtonItem alloc]
initWithTitle:UCLocalize("ABOUT")
@@ -6037,7 +6037,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
if ((self = [super init]) != nil) {
[[self navigationItem] setTitle:UCLocalize("MANAGE")];
- [self loadURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"manage" ofType:@"html"]]];
+ [self loadURL:[NSURL URLWithString:CydiaURL(@"ui/manage/")]];
[[self navigationItem] setLeftBarButtonItem:[[[UIBarButtonItem alloc]
initWithTitle:UCLocalize("SETTINGS")
@@ -8765,11 +8765,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
controller = [[[CYBrowserController alloc] init] autorelease];
[(CYBrowserController *)controller loadURL:[NSURL URLWithString:destination]];
} else if ([components count] == 1) {
- if ([base isEqualToString:@"storage"]) {
- controller = [[[CYBrowserController alloc] init] autorelease];
- [(CYBrowserController *)controller loadURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"storage" ofType:@"html"]]];
- }
-
if ([base isEqualToString:@"sources"]) {
controller = [[[SourcesController alloc] initWithDatabase:database_] autorelease];
}