Removed declaration of infoPanel: from GormDocument.h and removed commented out code from GormDocument.m also corrected a problem with adding/removing from the classes view.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19387 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2004-05-22 16:25:35 +00:00
parent ac6aab7240
commit d1204e2890
4 changed files with 17 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2004-05-22 12:31 Gregory John Casamento <greg_casamento@yahoo.com>
* Gorm.m: [Gorm validateMenuItem:] removed code which greys
out the add/remove for first responder. This was preventing
people from adding in the classes view.
2004-05-21 07:20 Gregory John Casamento <greg_casamento@yahoo.com>
* Gorm.m: Removed the infoPanel method.

4
Gorm.m
View file

@ -1355,8 +1355,8 @@ NSString *GormResizeCellNotification = @"GormResizeCellNotification";
return NO;
}
if([name isEqual: @"FirstResponder"])
return NO;
// if([name isEqual: @"FirstResponder"])
// return NO;
}
if(sel_eq(action, @selector(instantiateClass:)))

View file

@ -3715,3 +3715,12 @@ willBeInsertedIntoToolbar: (BOOL)flag
@"ClassesItem", nil];
}
@end
/*
@implementation NSColor (Extensions)
+ (NSColor *) toolbarBackgroundColor
{
return RETAIN([NSColor colorWithCalibratedRed: 0.8 green: 0.8 blue: 0.8 alpha: 1.0]);
}
@end
*/

View file

@ -115,7 +115,6 @@ extern NSString *GormResizeCellNotification;
- (GormPalettesManager*) palettesManager;
- (void) stopConnecting;
- (void) infoPanel: (id) sender;
- (void) preferencesPanel: (id) sender;
- (void) copy: (id)sender;