mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 00:41:05 +00:00
Extend GSspell server to support multiple languages if aspell has
dictionaries for those languages installed. Note: At present, users or an administrator must manually update the Info.plist file of GSspell.service to really be able to use languages besides American English. Hints for a better solution welcome. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29683 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3a8b974deb
commit
903272b7b4
3 changed files with 278 additions and 100 deletions
|
@ -236,7 +236,8 @@ static int __documentTag = 0;
|
|||
- (void)_populateDictionaryPulldown: (NSArray *)dictionaries
|
||||
{
|
||||
[_dictionaryPulldown removeAllItems];
|
||||
[_dictionaryPulldown addItemsWithTitles: dictionaries];
|
||||
[_dictionaryPulldown addItemsWithTitles:
|
||||
[dictionaries sortedArrayUsingSelector:@selector(caseInsensitiveCompare:)]];
|
||||
[_dictionaryPulldown selectItemWithTitle: _language];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue