mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
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:
parent
ec5593d988
commit
242b6d5b82
6 changed files with 32 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -67,6 +67,7 @@
|
|||
orderFront:,
|
||||
orderFrontColorPanel:,
|
||||
orderFrontDataLinkPanel:,
|
||||
orderFrontFontPanel:,
|
||||
orderFrontHelpPanel:,
|
||||
orderFrontStandardAboutPanel:,
|
||||
orderFrontStandardInfoPanel:,
|
||||
|
|
5
Gorm.m
5
Gorm.m
|
@ -1047,6 +1047,11 @@ static NSButtonType _buttonTypeForObject( id button )
|
|||
return preferencesPanel;
|
||||
}
|
||||
|
||||
- (void) orderFrontFontPanel: (id) sender
|
||||
{
|
||||
[[NSFontManager sharedFontManager] orderFrontFontPanel: self];
|
||||
}
|
||||
|
||||
- (id) init
|
||||
{
|
||||
self = [super init];
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -137,7 +137,8 @@
|
|||
"useStandardKerning:",
|
||||
"useStandardLigatures:",
|
||||
"yank:",
|
||||
"zoom:"
|
||||
"zoom:",
|
||||
"orderFrontFontPanel:"
|
||||
);
|
||||
Super = NSObject;
|
||||
};
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue