summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2008-02-03 07:25:47 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2008-02-03 07:25:47 +0000
commit912a99dd4718c79a6e4b71a2d108ac2edad09da7 (patch)
treeadd7b9e0b489db9bf351821f58dd7af511126f9b
parentc564e4e8fda02d056959deb62d2cf0ec20d07f74 (diff)
Forgot to fully test ChangesView for upgrades :(.
-rw-r--r--Cydia.mm13
1 files changed, 11 insertions, 2 deletions
diff --git a/Cydia.mm b/Cydia.mm
index 470f276..d552e22 100644
--- a/Cydia.mm
+++ b/Cydia.mm
@@ -2560,8 +2560,17 @@ NSString *Scour(const char *field, const char *begin, const char *end) {
}
- (void) navigationBar:(UINavigationBar *)navbar buttonClicked:(int)button {
- if (button == 1)
- [delegate_ upgrade];
+ switch (button) {
+ case 0:
+ [[view_ package] install];
+ [delegate_ resolve];
+ [delegate_ perform];
+ break;
+
+ case 1:
+ [delegate_ upgrade];
+ break;
+ }
}
- (void) packageTable:(id)table packageSelected:(Package *)package {