summaryrefslogtreecommitdiff
path: root/Cydia.mm
diff options
context:
space:
mode:
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 {