mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-19 01:51:09 +00:00
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:
parent
8fb9759aa8
commit
63ba44401c
1 changed files with 12 additions and 15 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue