summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2008-08-19 12:26:54 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:08:28 +0000
commit440c215d59e1d6add1727784232a299a925e2f34 (patch)
treeb83757f315df2d6915be91dae183a3fa0586d9d7
parent3a49daf0bbb909c577f678804bdf91918ad6ec54 (diff)
Minor visibility SNAFU.
-rw-r--r--Cydia.mm8
1 files changed, 4 insertions, 4 deletions
diff --git a/Cydia.mm b/Cydia.mm
index b8cf993..e3a6adf 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]
];