aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-01-08 04:37:51 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-01-08 04:37:51 +0800
commitcefb3398ca0012a9bca88f65e6c882b44f756a0b (patch)
treedb4265521562076e26b7a44eeabb3e9fc1820a42 /embed/mozilla
parent977e13469d48102bc3812140bdf3faf955e9f11a (diff)
downloadgsoc2013-epiphany-cefb3398ca0012a9bca88f65e6c882b44f756a0b.tar
gsoc2013-epiphany-cefb3398ca0012a9bca88f65e6c882b44f756a0b.tar.gz
gsoc2013-epiphany-cefb3398ca0012a9bca88f65e6c882b44f756a0b.tar.bz2
gsoc2013-epiphany-cefb3398ca0012a9bca88f65e6c882b44f756a0b.tar.lz
gsoc2013-epiphany-cefb3398ca0012a9bca88f65e6c882b44f756a0b.tar.xz
gsoc2013-epiphany-cefb3398ca0012a9bca88f65e6c882b44f756a0b.tar.zst
gsoc2013-epiphany-cefb3398ca0012a9bca88f65e6c882b44f756a0b.zip
revert
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/mozilla-embed-shell.cpp35
1 files changed, 0 insertions, 35 deletions
diff --git a/embed/mozilla/mozilla-embed-shell.cpp b/embed/mozilla/mozilla-embed-shell.cpp
index 6b8c5e8f1..249b7dd50 100644
--- a/embed/mozilla/mozilla-embed-shell.cpp
+++ b/embed/mozilla/mozilla-embed-shell.cpp
@@ -184,39 +184,6 @@ mozilla_embed_shell_class_init (MozillaEmbedShellClass *klass)
}
static void
-mozilla_load_language_prefs (MozillaEmbedShell *shell)
-{
- GString *langs;
- const GList *l;
-
- langs = g_string_new (NULL);
-
- l = gnome_i18n_get_language_list ("LC_MESSAGES");
- for (; l != NULL; l = l->next)
- {
- char *lang = (char *)l->data;
- int len;
- char *lg, *enc;
-
- g_print ("%s\n", lang);
-
- lg = strchr (lang, '_');
- enc = strchr (lang, '.');
-
- len = strlen (lang);
- if (enc) len = enc - lang;
- if (lg) len = lg - lang;
-
- g_string_append (langs, ",");
- g_string_append_len (langs, lang, len);
- }
-
- mozilla_prefs_set_string ("intl.accept_languages", langs->str + 1);
-
- g_string_free (langs, TRUE);
-}
-
-static void
mozilla_load_proxy_prefs (MozillaEmbedShell *shell)
{
char *tmp;
@@ -458,8 +425,6 @@ mozilla_embed_shell_init (MozillaEmbedShell *mes)
mozilla_load_proxy_prefs (mes);
- mozilla_load_language_prefs (mes);
-
mozilla_init_single (mes);
mozilla_register_components ();