mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 07:19:37 +03:00
[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:
parent
428a1b5841
commit
7144ce65eb
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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) {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user