summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
authorEnno Boland (tox) <tox@s01.de>2009-10-14 16:28:00 +0200
committerEnno Boland (tox) <tox@s01.de>2009-10-14 16:28:00 +0200
commitd97b8adfde2b6c013025e1d4e9a8c9d773149e94 (patch)
tree23b7487a1eb828dff320d68f370fe5c0d5296b9f /surf.c
parent24bbd6be02e87926e803028477538ce929253626 (diff)
downloadsurf-d97b8adfde2b6c013025e1d4e9a8c9d773149e94.tar.gz
surf-d97b8adfde2b6c013025e1d4e9a8c9d773149e94.tar.bz2
surf-d97b8adfde2b6c013025e1d4e9a8c9d773149e94.zip
changing useragent.
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/surf.c b/surf.c
index 3193540..0ee4ed3 100644
--- a/surf.c
+++ b/surf.c
@@ -439,7 +439,7 @@ newclient(void) {
gdk_window_add_filter(GTK_WIDGET(c->win)->window, processx, c);
webkit_web_view_set_full_content_zoom(c->view, TRUE);
settings = webkit_web_view_get_settings(c->view);
- g_object_set(G_OBJECT(settings), "user-agent", "surf", NULL);
+ g_object_set(G_OBJECT(settings), "user-agent", useragent, NULL);
uri = g_strconcat("file://", stylefile, NULL);
g_object_set(G_OBJECT(settings), "user-stylesheet-uri", uri, NULL);
g_free(uri);