Committing fix to class manager.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@15438 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2003-01-01 07:07:27 +00:00
parent 4a7b6df80a
commit fe86364bd6
2 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2003-01-01 Gregory John Casamento <greg_casamento@yahoo.com>
* GormClassManager.m: Made a minor correction to the
removeAction:forClassNamed: to allow actions to be deleted
from custom classes.
2003-01-01 Gregory John Casamento <greg_casamento@yahoo.com>
* Gorm.m: Updated version information to 0.2.5 due to all

View file

@ -739,8 +739,10 @@ NSString *IBClassNameChangedNotification = @"IBClassNameChangedNotification";
{
NSMutableDictionary *info = [self classInfoForObject: anObject];
NSMutableArray *extraActions = [info objectForKey: @"ExtraActions"];
NSMutableArray *allActions = [info objectForKey: @"AllActions"];
if ([extraActions containsObject: anAction] == YES)
if ([extraActions containsObject: anAction] == YES ||
[allActions containsObject: anAction] == YES)
{
NSString *superName = [info objectForKey: @"Super"];
@ -769,8 +771,10 @@ NSString *IBClassNameChangedNotification = @"IBClassNameChangedNotification";
{
NSMutableDictionary *info = [classInformation objectForKey: className];
NSMutableArray *extraActions = [info objectForKey: @"ExtraActions"];
NSMutableArray *allActions = [info objectForKey: @"AllActions"];
if ([extraActions containsObject: anAction] == YES)
if ([extraActions containsObject: anAction] == YES ||
[allActions containsObject: anAction] == YES)
{
NSString *superName = [info objectForKey: @"Super"];