summaryrefslogtreecommitdiff
path: root/Cydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2009-03-07 10:20:10 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:09:50 +0000
commit12b59862f7a47c1608644aa8d6e44a3bd0efdf61 (patch)
tree33aed12d0c6fa3ff05f6ecf98d627398c3e70fd5 /Cydia.mm
parent3bd1c2a2a065f381047db7201797be94f19e4c6c (diff)
My god his is taking me forever.
Diffstat (limited to 'Cydia.mm')
-rw-r--r--Cydia.mm12
1 files changed, 8 insertions, 4 deletions
diff --git a/Cydia.mm b/Cydia.mm
index ebab213..be05533 100644
--- a/Cydia.mm
+++ b/Cydia.mm
@@ -4232,10 +4232,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
}
#if !AlwaysReload
-- (void) _rightButtonClicked {
- /*[super _rightButtonClicked];
- return;*/
-
+- (void) __rightButtonClicked {
int count = [buttons_ count];
_assert(count != 0);
@@ -4255,6 +4252,13 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
] autorelease]];
}
}
+
+- (void) _rightButtonClicked {
+ if (commercial_)
+ [super _rightButtonClicked];
+ else
+ [self __rightButtonClicked];
+}
#endif
- (id) _rightButtonTitle {