From: Jay Freeman (saurik) Date: Tue, 19 Aug 2008 12:26:54 +0000 (+0000) Subject: Minor visibility SNAFU. X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/4fdee07926914dff9db3225c5b638ac6e96de067?hp=ff47b80085d360a15660273940011a7388a6e002 Minor visibility SNAFU. --- diff --git a/Cydia.mm b/Cydia.mm index b8cf9938..e3a6adfe 100644 --- a/Cydia.mm +++ b/Cydia.mm @@ -1128,7 +1128,7 @@ NSString *Scour(const char *field, const char *begin, const char *end) { - (void) remove; - (NSNumber *) isUnfilteredAndSearchedForBy:(NSString *)search; -- (NSNumber *) isInstalledAndUnfiltered:(NSNumber *)number; +- (NSNumber *) isInstalledAndVisible:(NSNumber *)number; - (NSNumber *) isVisiblyUninstalledInSection:(NSString *)section; - (NSNumber *) isVisibleInSource:(Source *)source; @@ -1606,9 +1606,9 @@ NSString *Scour(const char *field, const char *begin, const char *end) { )]; } -- (NSNumber *) isInstalledAndUnfiltered:(NSNumber *)number { +- (NSNumber *) isInstalledAndVisible:(NSNumber *)number { return [NSNumber numberWithBool:( - (![number boolValue] || [self unfiltered]) && [self installed] != nil + (![number boolValue] || [self visible]) && [self installed] != nil )]; } @@ -4058,7 +4058,7 @@ void AddTextView(NSMutableDictionary *fields, NSMutableArray *packages, NSString initWithBook:book database:database title:nil - filter:@selector(isInstalledAndUnfiltered:) + filter:@selector(isInstalledAndVisible:) with:[NSNumber numberWithBool:YES] ];