From 63ba44401c3c56e3a7d43ae9f28e79090ead2cc9 Mon Sep 17 00:00:00 2001 From: Robert Slover Date: Sun, 24 Sep 2000 13:37:23 +0000 Subject: [PATCH] minor UI issue git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@7591 72102866-910b-0410-8b05-ffd578937521 --- PCLibProj/PCLibProject.m | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/PCLibProj/PCLibProject.m b/PCLibProj/PCLibProject.m index 612fe1f..910c5db 100644 --- a/PCLibProj/PCLibProject.m +++ b/PCLibProj/PCLibProject.m @@ -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]; }