mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
Correction for previous changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@20310 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
169d8c4a56
commit
3976c35f41
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-11-07 22:18 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormClassInspector.m: [GormClassManager removeAction:]
|
||||
added code to check for a custom class.
|
||||
|
||||
2004-11-07 14:27 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* ClassInformation.plist: Added entry for NSObject.
|
||||
|
|
|
@ -382,18 +382,18 @@ objectValueForTableColumn: (NSTableColumn *)tc
|
|||
NSString *className = [self _currentClass];
|
||||
NSArray *list = [classManager allActionsForClassNamed: className];
|
||||
BOOL removed = NO;
|
||||
BOOL isCustom = [classManager isCustomClass: className];
|
||||
NSString *name = nil;
|
||||
GormDocument *document = (GormDocument *)[(id <IB>)NSApp activeDocument];
|
||||
|
||||
// check the count...
|
||||
if([classManager isCustomClass: className] ||
|
||||
[classManager isCategoryForClass: className])
|
||||
if(isCustom || [classManager isCategoryForClass: className])
|
||||
{
|
||||
if([list count] > 0 && i >= 0 && i < [list count])
|
||||
{
|
||||
[actionTable deselectAll: self];
|
||||
name = [list objectAtIndex: i];
|
||||
if([classManager isAction: name onCategoryForClassNamed: className])
|
||||
if(isCustom || [classManager isAction: name onCategoryForClassNamed: className])
|
||||
{
|
||||
removed = [document
|
||||
removeConnectionsWithLabel: name
|
||||
|
|
Loading…
Reference in a new issue