diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2010-06-21 07:10:52 +0000 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-09-30 07:14:00 +0000 |
commit | 65c27c5674227ae8ff7fd8eaa46cc1c9a5111004 (patch) | |
tree | b7144dcda174b2318db3b19a5e3763bc13cb7893 /Cydia.mm | |
parent | 42fc47f8d74f32d0c12eb93e54a79a1fd5b53b96 (diff) |
Changed cache control.
Diffstat (limited to 'Cydia.mm')
-rw-r--r-- | Cydia.mm | 24 |
1 files changed, 8 insertions, 16 deletions
@@ -713,11 +713,8 @@ NSUInteger DOMNodeList$countByEnumeratingWithState$objects$count$(DOMNodeList *s - (NSString *) stringByCachingURLWithCurrentCDN { return [self - stringByReplacingOccurrencesOfString:@"://" - withString:@"://wpc.03A4.edgecastcdn.net/8003A4/" - options:0 - /* XXX: this is somewhat inaccurate */ - range:NSMakeRange(0, 10) + stringByReplacingOccurrencesOfString:@"://cydia.saurik.com/" + withString:@"://cache.cydia.saurik.com/" ]; } @@ -6256,24 +6253,19 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { } - (void) _leftButtonClicked { - UIActionSheet *sheet = [[[UIActionSheet alloc] - initWithTitle:UCLocalize("ABOUT_CYDIA") - buttons:[NSArray arrayWithObjects:UCLocalize("CLOSE"), nil] - defaultButtonIndex:0 - delegate:self - context:@"about" - ] autorelease]; + UIAlertView *alert = [[[UIAlertView alloc] init] autorelease]; + [alert setTitle:UCLocalize("ABOUT_CYDIA")]; + [alert addButtonWithTitle:UCLocalize("CLOSE")]; + [alert setCancelButtonIndex:0]; - [sheet setAutoresizingMask:(UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight)]; - - [sheet setBodyText: + [alert setMessage: @"Copyright (C) 2008-2010\n" "Jay Freeman (saurik)\n" "saurik@saurik.com\n" "http://www.saurik.com/" ]; - [sheet popupAlertAnimated:YES]; + [alert show]; } - (NSString *) leftButtonTitle { |