aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/mail-composer-prefs.c4
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;