mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
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:
parent
f7811cbfdb
commit
8a4c8c5aa6
2 changed files with 14 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue