summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2012-05-14 23:03:35 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2012-05-14 23:03:35 -0700
commit353dda5b4d75a4e33e59e05b3acdd41b1069b196 (patch)
tree18e2005fe09e2ad8e1b824c229592ca3905380f5 /MobileCydia.mm
parentfac0ed79f59978f6cad1ce3e34407a608ce7f0e6 (diff)
Add delegate getters to match setDelegate setters.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm6
1 files changed, 5 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index bf8da9a..2371e26 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -5128,6 +5128,10 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
} return self;
}
+- (id) delegate {
+ return delegate_;
+}
+
- (void) setDelegate:(id)delegate {
delegate_ = delegate;
}
@@ -5531,7 +5535,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
}
- (NSString *) accessibilityLabel {
- return [NSString stringWithFormat:UCLocalize("COLON_DELIMITED"), (id) name_, (id) description_];
+ return name_;
}
- (void) setPackage:(Package *)package asSummary:(bool)summary {