X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/686e302fd0fed7758b531ad8329d60963a622a4e..b452841e329fca8594fdac20ae072b31d789b11d:/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