diff options
author | Radek Doulik <rodo@ximian.com> | 2003-04-08 01:47:17 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2003-04-08 01:47:17 +0800 |
commit | b706cb3137ec5d0df7800f50a67828ac3e945221 (patch) | |
tree | 1fbc6ca0f3c891c1214cf0246cba449e438372c9 | |
parent | 20de2e68c1b3a233626d698790bf13d715283450 (diff) | |
download | gsoc2013-evolution-b706cb3137ec5d0df7800f50a67828ac3e945221.tar.gz gsoc2013-evolution-b706cb3137ec5d0df7800f50a67828ac3e945221.tar.zst gsoc2013-evolution-b706cb3137ec5d0df7800f50a67828ac3e945221.zip |
use e_iconv_locale_language
2003-04-07 Radek Doulik <rodo@ximian.com>
* mail-composer-prefs.c (spell_load_values): use
e_iconv_locale_language
svn path=/trunk/; revision=20721
-rw-r--r-- | mail/ChangeLog | 4 | ||||
-rw-r--r-- | mail/mail-composer-prefs.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index b5656e33c9..f0db6e735e 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,7 @@ +2003-04-07 Radek Doulik <rodo@ximian.com> + + * mail-composer-prefs.c (spell_load_values): use e_iconv_locale_language + 2003-04-07 Dan Winship <danw@ximian.com> * GNOME_Evolution_Mail.server.in.in: Clean up server names diff --git a/mail/mail-composer-prefs.c b/mail/mail-composer-prefs.c index 8b361035dd..c5daa41bb1 100644 --- a/mail/mail-composer-prefs.c +++ b/mail/mail-composer-prefs.c @@ -566,8 +566,8 @@ spell_load_values (MailComposerPrefs *prefs) { GConfValue *val; char *def_lang; - - def_lang = g_strdup ("en_us"); + + def_lang = g_strdup (e_iconv_locale_language ()); g_free (prefs->language_str); prefs->language_str = g_strdup (def_lang); prefs->spell_error_color.red = 0xffff; |