After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 758421 - Language choosers: be able to bind a gsetting
Language choosers: be able to bind a gsetting
Status: RESOLVED FIXED
Product: gspell
Classification: Other
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gspell maintainers
gspell maintainers
Depends on:
Blocks:
 
 
Reported: 2015-11-20 18:06 UTC by Sébastien Wilmet
Modified: 2016-01-16 12:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sébastien Wilmet 2015-11-20 18:06:24 UTC
Currently it is not possible to bind a gsetting to a LanguageChooser widget.

The binding must also take into account:
* whether it's the default language.
* whether the language is NULL (i.e. no dictionaries).

The most convenient way to store the language is as a string. An empty string can represent the default language. And if no dictionaries are available, the value can be reset to "default" too, so it can be the empty string too.

As soon as a value changes, it means that the user has chosen something, so it can not be the empty string.
Comment 1 Sébastien Wilmet 2016-01-16 12:47:33 UTC
Done.