mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 06:10:37 +00:00
Add new category to NSApplication with a method to order the font
panel front. This makes the standard font panel toolbar item work. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31413 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bdda29451c
commit
2d8b12abfa
2 changed files with 15 additions and 0 deletions
|
@ -1192,3 +1192,12 @@ static Class fontPanelClass = Nil;
|
|||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation NSApplication(NSFontPanel)
|
||||
|
||||
- (void) orderFrontFontPanel: (id)sender
|
||||
{
|
||||
[[NSFontManager sharedFontManager] orderFrontFontPanel: sender];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue