minor UI issue

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@7591 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Robert Slover 2000-09-24 13:37:23 +00:00
parent 8fb9759aa8
commit 63ba44401c

View file

@ -81,18 +81,17 @@
- (id)init
{
if ((self = [super init])) {
rootCategories = [[NSDictionary dictionaryWithObjectsAndKeys:PCClasses,@"Classes",PCHeaders,@"Headers",PCOtherSources,@"Other Sources",PCOtherResources,@"Other Resources", PCSubprojects, @"Subprojects", PCLibraries, @"Libraries",PCDocuFiles,@"Documentation",nil] retain];
rootCategories = [[NSDictionary dictionaryWithObjectsAndKeys:
PCSubprojects, @"Subprojects",
PCLibraries, @"Libraries",
PCDocuFiles,@"Documentation",
PCOtherResources,@"Other Resources",
PCOtherSources,@"Other Sources",
PCHeaders,@"Headers",
PCClasses,@"Classes",
nil] retain];
_needsAdditionalReleasing = NO;
#if defined(GNUSTEP)
[self _initUI];
#else
if(![NSBundle loadNibNamed:@"LibProject.nib" owner:self]) {
[[NSException exceptionWithName:NIB_NOT_FOUND_EXCEPTION reason:@"Could not load LibProject.gmodel" userInfo:nil] raise];
return nil;
}
#endif
}
return self;
}
@ -101,11 +100,9 @@
{
[rootCategories release];
if (_needsAdditionalReleasing) {
[projectAttributeInspectorView release];
[projectProjectInspectorView release];
[projectFileInspectorView release];
}
[projectAttributeInspectorView release];
[projectProjectInspectorView release];
[projectFileInspectorView release];
[super dealloc];
}