From 4fdee07926914dff9db3225c5b638ac6e96de067 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 19 Aug 2008 12:26:54 +0000 Subject: [PATCH] Minor visibility SNAFU. --- Cydia.mm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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] ]; -- 2.45.2