X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/b4d89997f7c06c875a4ee9b10da0aef4e4e80dda..3a49daf0bbb909c577f678804bdf91918ad6ec54:/Preferences.mm diff --git a/Preferences.mm b/Preferences.mm index b7ccfff0..f5761930 100644 --- a/Preferences.mm +++ b/Preferences.mm @@ -232,7 +232,7 @@ Database *database_; id delegate_; NSMutableArray *sources_; - UIAlertSheet *alert_; + UIActionSheet *alert_; } - (int) numberOfSectionsInSectionList:(UISectionList *)list; @@ -294,7 +294,7 @@ [table selectRow:-1 byExtendingSelection:NO withFade:YES]; } -- (void) alertSheet:(UIAlertSheet *)sheet buttonClicked:(int)button { +- (void) alertSheet:(UIActionSheet *)sheet buttonClicked:(int)button { [alert_ dismiss]; [alert_ release]; alert_ = nil; @@ -303,7 +303,7 @@ - (void) navigationBar:(UINavigationBar *)navbar buttonClicked:(int)button { switch (button) { case 0: - alert_ = [[UIAlertSheet alloc] + alert_ = [[UIActionSheet alloc] initWithTitle:@"Unimplemented" buttons:[NSArray arrayWithObjects:@"Okay", nil] defaultButtonIndex:0