Change to selectClass: to prevent change for private class names.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19251 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2004-05-07 01:19:10 +00:00
parent f7811cbfdb
commit 8a4c8c5aa6
2 changed files with 14 additions and 4 deletions

View file

@ -1,4 +1,10 @@
2004-05-02 22:18 Gregory John Casamento <greg_casamento@yahoo.com>
2004-05-06 21:21 Gregory John Casamento <greg_casamento@yahoo.com>
* GormDocument.m: [GormDocument selectClass:] do not switch if
the class is one of GormSound or GormImage. This prevents a harmless,
but annoying message.
2004-05-05 22:18 Gregory John Casamento <greg_casamento@yahoo.com>
* Gorm.m: [Gorm unhide:] improvement over previous fix to bring
all things to front. The code now toggles the active status of

View file

@ -514,14 +514,18 @@ static NSImage *classesImage = nil;
if(className != nil)
{
if([className isEqualToString: @"CustomView"])
return; // return only if it is a special class name...
if([className isEqual: @"CustomView"] ||
[className isEqual: @"GormSound"] ||
[className isEqual: @"GormImage"])
{
return; // return only if it is a special class name...
}
}
else
{
return; // return if it is nil
}
classes = [[self classManager] allSuperClassesOf: className];
en = [classes objectEnumerator];