]> git.saurik.com Git - cydia.git/blobdiff - CyteKit/ListController.mm
Also move ListController title support to CyteKit.
[cydia.git] / CyteKit / ListController.mm
index d3c162e9c59e629e712caf9e0cad1c594167a8f7..7d90045427c7908312cdfd3d680917a61108c927 100644 (file)
@@ -130,6 +130,12 @@ static CGFloat CYStatusBarHeight() {
     [self deselectWithAnimation:animated];
 }
 
+- (id) initWithTitle:(NSString *)title {
+    if ((self = [super init]) != nil) {
+        [[self navigationItem] setTitle:title];
+    } return self;
+}
+
 - (void) releaseSubviews {
     list_ = nil;
     [super releaseSubviews];