diff options
author | Grant Paul <chpwn@chpwn.com> | 2011-01-22 16:18:08 -0800 |
---|---|---|
committer | Grant Paul <chpwn@chpwn.com> | 2011-01-22 16:18:08 -0800 |
commit | 066b9ccc3d0530784fc67e93b2e62adb5437f263 (patch) | |
tree | 6cbec1ac55f58d890380475ddf923e18e5a697e3 | |
parent | 4515468cdba904c0701f90e6b7a86226e5b880d8 (diff) | |
parent | 2e174efd4d421cd1727bbe455796277dca0d9c89 (diff) |
Merge commit '664d95c4bf793f6206d94a366caf31c90cd9fd00' into tab-backup
-rw-r--r-- | MobileCydia.mm | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index c1324aa..44b2c1c 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -5951,7 +5951,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { > { UIImage *icon_; NSString *origin_; - NSString *description_; NSString *label_; } @@ -5964,12 +5963,10 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { - (void) clearSource { [icon_ release]; [origin_ release]; - [description_ release]; [label_ release]; icon_ = nil; origin_ = nil; - description_ = nil; label_ = nil; } @@ -5984,7 +5981,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { origin_ = [[source name] retain]; label_ = [[source uri] retain]; - description_ = [[source description] retain]; [content_ setNeedsDisplay]; } @@ -6026,10 +6022,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { if (!highlighted) UISetColor(Blue_); [label_ drawAtPoint:CGPointMake(58, 29) forWidth:(width - 95) withFont:Font12_ lineBreakMode:UILineBreakModeTailTruncation]; - - if (!highlighted) - UISetColor(Gray_); - [description_ drawAtPoint:CGPointMake(12, 46) forWidth:(width - 40) withFont:Font14_ lineBreakMode:UILineBreakModeTailTruncation]; } @end @@ -6131,11 +6123,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { return [sources_ objectAtIndex:idx]; } -- (CGFloat) tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { - Source *source = [self sourceAtIndexPath:indexPath]; - return [source description] == nil ? 56 : 73; -} - - (UITableViewCell *) tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *cellIdentifier = @"SourceCell"; @@ -6392,6 +6379,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { list_ = [[UITableView alloc] initWithFrame:[[self view] bounds] style:UITableViewStylePlain]; [list_ setAutoresizingMask:UIViewAutoresizingFlexibleBoth]; + [list_ setRowHeight:56]; [[self view] addSubview:list_]; [list_ setDataSource:self]; |