Bug 140638

Summary: [GTK] Add API to determine which spell checking dictionaries are available
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: WebKitGTKAssignee: Michael Catanzaro <mcatanzaro>
Status: NEW ---    
Severity: Enhancement CC: bugs-noreply, cgarcia, mcatanzaro, tpopela, zan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Bug Depends on:    
Bug Blocks: 153291    
Description Flags
Patch none

Description Michael Catanzaro 2015-01-19 13:00:32 PST
We either need to install missing spell checking dictionaries (either automatically or via new API), or else provide API for applications to figure out what they need to install for spell checking to work. Carlos requested the later.
Comment 1 Michael Catanzaro 2015-01-19 13:06:00 PST
Created attachment 244921 [details]
Comment 2 Michael Catanzaro 2015-01-19 14:34:39 PST
mrobinson:  So I guess the issue with the API is this:
mrobinson:  The API allows us to get the list without making implementation details assumptions, but the installation requires making the same assumptions.

I'd really like to pair it with a function to install the dictionaries, something like:

webkit_web_context_install_spell_checking_dictionaries (WebKitWebContext*, char** dictionaries, GCancellable*, GAsyncReadyCallback, gpointer)

webkit_web_context_install_spell_checking_dictionaries_finish(WebKitWebContext*, GAsyncResult*, GError**)