Updating branch refs/heads/master to 70914387acaa455207184ae6212be1314543d694 (commit) from 47a7ca44303833b81aad87847eec87623799a8df (commit)
commit 70914387acaa455207184ae6212be1314543d694 Author: Christian Dywan <christ...@twotoasts.de> Date: Sun May 30 23:00:17 2010 +0200 Do spell checking for all available languages postler/postler-composer.vala | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/postler/postler-composer.vala b/postler/postler-composer.vala index f6b6378..8f32b75 100644 --- a/postler/postler-composer.vala +++ b/postler/postler-composer.vala @@ -161,8 +161,11 @@ public class Postler.Composer : Gtk.Window { content.editable = true; var settings = content.settings; - if (settings.get_class ().find_property ("enable-spell-checking") != null) - settings.set ("enable-spell-checking", true, null); + if (settings.get_class ().find_property ("enable-spell-checking") != null) { + string languages = string.joinv (",", Intl.get_language_names ()); + settings.set ("enable-spell-checking", true, + "spell-checking-languages", languages, null); + } string body = ""; try { _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits