Make the spell panel a utility window like the font and color panels.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31159 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
wlux 2010-08-15 20:38:07 +00:00
parent 9f1f939d7a
commit 33898cf1b8
2 changed files with 4 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2010-08-15 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSSpellChecker.m (-awakeFromNib): Make the spell panel a
utility window like the font and color panels.
* Source/NSPopUpButtonCell.m (-selectItem): Fix bug caused by the
fix for #30025, which made it impossible to programmatically
change the selected item of some pop up buttons.

View file

@ -698,6 +698,7 @@ inSpellDocumentWithTag:(int)tag
[_correctButton setAlternateImage: [NSImage imageNamed: @"common_retH"]];
[_spellPanel makeFirstResponder: _correctButton];
[_spellPanel setBecomesKeyOnlyIfNeeded: YES];
[_spellPanel setFloatingPanel: YES];
}
@end