diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-23 18:26:27 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-07 02:41:12 -0800 |
commit | b0b11d99657d83a32f186ec8e448982e2c30e2d3 (patch) | |
tree | fea542871dd85f8495618865502efd9bef5e8305 /MobileCydia.mm | |
parent | 824062172d3effbead0e24eaae0ba60f7eb86969 (diff) |
Rename cydiaProgress.progress to .percent.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 9364e3a..c50934e 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -4890,7 +4890,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { _transient id delegate_; bool running_; - float progress_; + float percent_; _H<NSMutableArray> events_; _H<NSString> title_; @@ -4907,7 +4907,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { return [NSArray arrayWithObjects: @"events", @"finish", - @"progress", + @"percent", @"running", @"title", nil]; @@ -4931,12 +4931,12 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { delegate_ = delegate; } -- (void) setProgress:(float)value { - progress_ = value; +- (void) setPercent:(float)value { + percent_ = value; } -- (NSNumber *) progress { - return [NSNumber numberWithFloat:progress_]; +- (NSNumber *) percent { + return [NSNumber numberWithFloat:percent_]; } - (NSArray *) events { @@ -5222,7 +5222,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { } - (void) setProgressPercent:(NSNumber *)percent { - [progress_ setProgress:[percent floatValue]]; + [progress_ setPercent:[percent floatValue]]; [self updateProgress]; } |