summaryrefslogtreecommitdiff
path: root/Cydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2009-02-25 06:58:19 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:09:43 +0000
commitbd0a4099eec1afbfaefa65545259b7096daf8bfd (patch)
tree8c2cb6c74ba3c391b1cbee7a4f235790ee5afeaf /Cydia.mm
parent5d774a8892d28544253b65ef85916e5848dba716 (diff)
A few, minor, accumulated fixes.
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 aba5704..b62fc4a 100644
--- a/Cydia.mm
+++ b/Cydia.mm
@@ -381,7 +381,7 @@ extern NSString * const kCAFilterNearest;
#define lprintf(args...) fprintf(stderr, args)
-#define ForRelease 1
+#define ForRelease 0
#define ForSaurik (1 && !ForRelease)
#define ShowInternals (1 && !ForRelease)
#define IgnoreInstall (0 && !ForRelease)
@@ -3110,11 +3110,15 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
return @"Cancel";
}
+- (id) rightButtonTitle {
+ return issues_ != nil ? nil : [super rightButtonTitle];
+}
+
- (id) _rightButtonTitle {
#if AlwaysReload || IgnoreInstall
- return @"Reload";
+ return [super _rightButtonTitle];
#else
- return issues_ == nil ? @"Confirm" : nil;
+ return @"Confirm";
#endif
}
@@ -5093,7 +5097,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
] autorelease];
[sheet setBodyText:
- @"Copyright (C) 2008\n"
+ @"Copyright (C) 2008-2009\n"
"Jay Freeman (saurik)\n"
"saurik@saurik.com\n"
"http://www.saurik.com/\n"