summaryrefslogtreecommitdiff
path: root/Cydia.mm
diff options
context:
space:
mode:
authorGrant Paul <chpwn@chpwn.com>2010-09-25 22:17:55 -0700
committerJay Freeman <saurik@Jay-Freemans-MacBook-Pro.local>2010-10-04 00:12:21 -0700
commite2eaea534e42ae8d181d34ec8760818fd1cfb7be (patch)
tree727859283161e564ad03aabe2c5c018afec147e6 /Cydia.mm
parent21ea11a48e66dea8bc917392ea80f045df3a56a6 (diff)
removed uneeded code for cancel/queue ui change
Diffstat (limited to 'Cydia.mm')
-rw-r--r--Cydia.mm30
1 files changed, 0 insertions, 30 deletions
diff --git a/Cydia.mm b/Cydia.mm
index 4400c3d..2a5b715 100644
--- a/Cydia.mm
+++ b/Cydia.mm
@@ -4020,22 +4020,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
[super dealloc];
}
-- (void) actionSheet:(UIActionSheet *)sheet clickedButtonAtIndex:(NSInteger)button {
- NSString *context([sheet context]);
-
- if ([context isEqualToString:@"cancel"]) {
- bool clear;
-
- if (button == [sheet cancelButtonIndex]) return;
- else if (button == [sheet destructiveButtonIndex]) clear = true;
- else clear = false;
-
- [sheet dismissWithClickedButtonIndex:0xDEADBEEF animated:YES];
- [self dismissModalViewControllerAnimated:YES];
- [delegate_ cancelAndClear:clear];
- }
-}
-
- (void) alertView:(UIAlertView *)alert clickedButtonAtIndex:(NSInteger)button {
NSString *context([alert context]);
@@ -4187,20 +4171,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
}
- (void) cancelButtonClicked {
- /*UIActionSheet *sheet = [[UIActionSheet alloc]
- initWithTitle:nil
- delegate:self
- cancelButtonTitle:nil
- destructiveButtonTitle:nil
- otherButtonTitles:nil
- ];
-
- [sheet addButtonWithTitle:UCLocalize("CANCEL_CLEAR")];
- [sheet setDestructiveButtonIndex:[sheet numberOfButtons] - 1];
- [sheet addButtonWithTitle:UCLocalize("CONTINUE_QUEUING")];
- [sheet setContext:@"cancel"];
-
- [delegate_ showActionSheet:[sheet autorelease] fromItem:[[self navigationItem] leftBarButtonItem]];*/
[self dismissModalViewControllerAnimated:YES];
[delegate_ cancelAndClear:YES];
}