[project @ 2004-10-01 23:48:15 by jmb]

Add GUI config option for HTTP referer sending

svn path=/import/netsurf/; revision=1300
This commit is contained in:
John Mark Bell 2004-10-01 23:48:15 +00:00
parent 428a1b5841
commit 7144ce65eb
5 changed files with 6 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -511,6 +511,8 @@ void ro_gui_dialog_config_prepare(void)
ro_gui_set_icon_string(dialog_config_prox, ICON_CONFIG_PROX_AUTHPASS,
option_http_proxy_auth_pass ?
option_http_proxy_auth_pass : "");
ro_gui_set_icon_selected_state(dialog_config_prox,
ICON_CONFIG_PROX_REFERER, option_send_referer);
ro_gui_dialog_config_proxy_update();
/* themes pane */
@ -594,6 +596,9 @@ void ro_gui_dialog_config_set(void) {
option_http_proxy_auth_pass = strdup(ro_gui_get_icon_string(
dialog_config_prox,
ICON_CONFIG_PROX_AUTHPASS));
option_send_referer = ro_gui_get_icon_selected_state(
dialog_config_prox,
ICON_CONFIG_PROX_REFERER);
/* theme pane */
if (option_theme) {

View File

@ -305,6 +305,7 @@ bool ro_gui_print_keypress(wimp_key *key);
#define ICON_CONFIG_PROX_AUTHTYPE_PICK 6
#define ICON_CONFIG_PROX_AUTHUSER 8
#define ICON_CONFIG_PROX_AUTHPASS 10
#define ICON_CONFIG_PROX_REFERER 11
#define ICON_CONFIG_TH_GET 0
#define ICON_CONFIG_TH_MANAGE 1