Here is the diff. Enjoy. As you can see, it's pretty simple. Index: src/prefs.c =================================================================== RCS file: /sfhome/cvs/dillo/dillo/src/prefs.c,v retrieving revision 1.42 diff -r1.42 prefs.c 71c71,72 < { "enterpress_forces_submit", DRC_TOKEN_ENTERPRESS_FORCES_SUBMIT } ---
{ "enterpress_forces_submit", DRC_TOKEN_ENTERPRESS_FORCES_SUBMIT }, { "user_agent", DRC_TOKEN_USER_AGENT } 235a237,240 case DRC_TOKEN_USER_AGENT: g_free(prefs.user_agent); prefs.user_agent = g_strdup(scanner->value.v_string); break; 366a372 prefs.user_agent = DILLO_NAME; Index: src/prefs.h =================================================================== RCS file: /sfhome/cvs/dillo/dillo/src/prefs.h,v retrieving revision 1.23 diff -r1.23 prefs.h 19a20,21 #define DILLO_NAME "Dillo/0.7.2"
63a66
DRC_TOKEN_USER_AGENT, 107a111 gchar *user_agent; Index: src/IO/http.c =================================================================== RCS file: /sfhome/cvs/dillo/dillo/src/IO/http.c,v retrieving revision 1.54 diff -r1.54 http.c 156c156 < "User-Agent: Dillo/%s\r\n"
"User-Agent: %s\r\n"
163c163 < full_path->str, URL_HOST(url), s_port->str, VERSION, cookies, ---
full_path->str, URL_HOST(url), s_port->str, prefs.user_agent, cookies,
173c173 < "User-Agent: Dillo/%s\r\n" ---
"User-Agent: %s\r\n"
180c180 < URL_HOST(url), s_port->str, VERSION, ---
URL_HOST(url), s_port->str, prefs.user_agent,