Removal of dead code and correction of custom view problem.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23151 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2006-07-09 15:19:44 +00:00
parent defb7ce217
commit 43fd188678
3 changed files with 10 additions and 14 deletions

View file

@ -1,3 +1,9 @@
2006-07-09 11:18 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormCustomView.m: initWithCoder: move call to get customView
className after the if, so that it's properly set.
* GormCore/GormNibWrapperLoader.m: Remove commented out code.
2006-07-09 10:46 Gregory John Casamento <greg_casamento@yahoo.com>
* English.lproj/GormDocument.gorm: New version profile added

View file

@ -123,9 +123,6 @@
NSCustomView *customView = [[NSCustomView alloc] initWithCoder: aCoder];
NSArray *subviews = [customView subviews];
// get the classname...
[self setClassName: [customView className]];
// if the custom view has subviews....
if(subviews != nil && [subviews count] > 0)
{
@ -147,6 +144,10 @@
[self initWithFrame: [customView frame]];
_autoresizingMask = [customView autoresizingMask];
}
// get the classname...
[self setClassName: [customView className]];
RELEASE(customView);
return self;

View file

@ -230,17 +230,6 @@
}
}
//
// Add the main menu
//
/*
id menu = [container objectForName: @"MainMenu"];
if(menu)
{
[document attachObject: menu toParent: nil];
}
*/
//
// Add custom classes...
//