diff options
author | Marco Peereboom <marco@conformal.com> | 2011-10-06 16:06:16 -0500 |
---|---|---|
committer | Marco Peereboom <marco@conformal.com> | 2011-10-06 16:06:16 -0500 |
commit | fa8abdc508553688a81df25a1ba0eef659663d7c (patch) | |
tree | 9e0f2461d3bbf69e51fa202b517210e05cd6b537 | |
parent | 090bc388080187aca96c2ac70b3b36af6a725967 (diff) | |
download | xombrero-fa8abdc508553688a81df25a1ba0eef659663d7c.tar.gz |
set encoding to webview not soup-session
*sigh*
-rw-r--r-- | xxxterm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xxxterm.c b/xxxterm.c index 5da6079..4f18a34 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -8580,6 +8580,8 @@ create_browser(struct tab *t) /* set defaults */ t->settings = webkit_web_settings_new(); + g_object_set(t->settings, "default-encoding", encoding, (char *)NULL); + if (user_agent == NULL) { g_object_get(G_OBJECT(t->settings), "user-agent", &strval, (char *)NULL); @@ -10321,9 +10323,6 @@ main(int argc, char *argv[]) (void *)NULL); } - /* set default encoding */ - g_object_set(session, "default-encoding", encoding, (char *)NULL); - /* guess_search regex */ if (url_regex == NULL) url_regex = g_strdup(XT_URL_REGEX); |