Make Spelling panel key only when necessary and fix browser attributes

in the panel's gorm file.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29682 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
wlux 2010-02-20 00:38:40 +00:00
parent 5515a56fd2
commit 3a8b974deb
4 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,14 @@
2010-02-20 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSSpellChecker.m (-awakeFromNib): Set
becomesKeyOnlyIfNeeded panel attribute to YES.
* Panels/English.lproj/GSSpellPanel.gorm:
* Panels/Spanish.lproj/GSSpellPanel.gorm: Fix attribute settings
for the guess list browser: There is just one column, the browser
therefore needs no horizontal scroller, and it makes no sense to
enable multiple selection (which in addition would prevent the
browser from working when the spell panel is not key).
2010-02-20 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSColorPanel.m (-_initWithoutGModel):

View file

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