]> git.saurik.com Git - cydia.git/commitdiff
Minor visibility SNAFU.
authorJay Freeman (saurik) <saurik@saurk.com>
Tue, 19 Aug 2008 12:26:54 +0000 (12:26 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 30 Sep 2010 07:08:28 +0000 (07:08 +0000)
Cydia.mm

index b8cf99387458bd43fd1524cd78c3e2f54707f075..e3a6adfee9d7b99f4cf40b6c92ce40e50001f991 100644 (file)
--- 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]
         ];