Fixed font panel problem

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@15566 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2003-01-09 05:52:19 +00:00
parent ec5593d988
commit 242b6d5b82
6 changed files with 32 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2003-01-09 Gregory John Casamento <greg_casamento@yahoo.com>
* ClassInformation.plist: added missing orderFrontFontPanel:
method to FirstResponder.
* Gorm.gorm: updated to fix font panel problem.
* Gorm.m: Implemented orderFrontFontPanel:
2003-01-08 Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/3Containers/inspector.m: NSTabView was not

View file

@ -67,6 +67,7 @@
orderFront:,
orderFrontColorPanel:,
orderFrontDataLinkPanel:,
orderFrontFontPanel:,
orderFrontHelpPanel:,
orderFrontStandardAboutPanel:,
orderFrontStandardInfoPanel:,

5
Gorm.m
View file

@ -1047,6 +1047,11 @@ static NSButtonType _buttonTypeForObject( id button )
return preferencesPanel;
}
- (void) orderFrontFontPanel: (id) sender
{
[[NSFontManager sharedFontManager] orderFrontFontPanel: self];
}
- (id) init
{
self = [super init];

View file

@ -90,6 +90,22 @@ NSString *GSCustomClassMap = @"GSCustomClassMap";
}
return image;
}
- (NSString*) inspectorClassName
{
return @"GormNotApplicableInspector";
}
- (NSString*) connectInspectorClassName
{
return @"GormConnectionInspector";
}
- (NSString*) sizeInspectorClassName
{
return @"GormNotApplicableInspector";
}
- (NSString*) classInspectorClassName
{
return @"GormNotApplicableInspector";
}
@end
@ -1653,6 +1669,7 @@ static NSImage *classesImage = nil;
[objectsView addObject: firstResponder];
fontManager = [GormFontManager new];
[self setName: @"NSFont" forObject: fontManager];
// [objectsView addObject: fontManager];
/*
* Set image for this miniwindow.

View file

@ -137,7 +137,8 @@
"useStandardKerning:",
"useStandardLigatures:",
"yank:",
"zoom:"
"zoom:",
"orderFrontFontPanel:"
);
Super = NSObject;
};

Binary file not shown.