mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-29 09:50:57 +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
eefcd4bb09
commit
ce32b6e52f
2 changed files with 15 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2010-09-25 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||||
|
|
||||||
|
* Source/NSFontManager.m (-orderFrontFontPanel:): Add method to
|
||||||
|
NSApplication in a new category to make the standard font panel
|
||||||
|
toolbar item work.
|
||||||
|
|
||||||
2010-09-24 Fred Kiefer <FredKiefer@gmx.de>
|
2010-09-24 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/NSButton.m (-keyDown:): Remove unused code found by
|
* Source/NSButton.m (-keyDown:): Remove unused code found by
|
||||||
|
|
|
@ -1192,3 +1192,12 @@ static Class fontPanelClass = Nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
@implementation NSApplication(NSFontPanel)
|
||||||
|
|
||||||
|
- (void) orderFrontFontPanel: (id)sender
|
||||||
|
{
|
||||||
|
[[NSFontManager sharedFontManager] orderFrontFontPanel: sender];
|
||||||
|
}
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
Loading…
Reference in a new issue