From 11df0e6da99778c345f42dc65525ac915a0f1704 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 3 Feb 2008 07:25:47 +0000 Subject: [PATCH] Forgot to fully test ChangesView for upgrades :(. --- Cydia.mm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Cydia.mm b/Cydia.mm index 470f276b..d552e220 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 { -- 2.45.2