name_ = [name retain];
index_ = '\0';
row_ = row;
- localized_ = LocalizeSection(name_);
+ localized_ = [LocalizeSection(name_) retain];
} return self;
}
[super dealloc];
}
-/*- (void) release {
+- (void) release {
if ([self retainCount] == 1)
[delegate_ setPackageView:self];
[super release];
-}*/
+}
/* XXX: this is not safe at all... localization of /fail/ */
- (void) _clickButtonWithName:(NSString *)name {
- (void) setPackageView:(PackageView *)view {
if (package_ == nil)
package_ = [view retain];
- NSLog(@"packageView: %@", package_);
}
- (PackageView *) packageView {