summaryrefslogtreecommitdiff
path: root/riscos/dialog.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2003-10-23 00:09:17 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2003-10-23 00:09:17 +0000
commitcaac2628a7b3dafd707c385a50d98a3028085b60 (patch)
tree474c5c6b8096d8271cf621266e0a3a2f884249b6 /riscos/dialog.c
parent9fd638f098b36399e3ca7c90df3c283ab07ed08e (diff)
downloadnetsurf-caac2628a7b3dafd707c385a50d98a3028085b60.tar.gz
netsurf-caac2628a7b3dafd707c385a50d98a3028085b60.tar.bz2
[project @ 2003-10-23 00:09:16 by jmb]
Enable logging into sites which require Basic Authentication Has a couple of issues: 1) Opens the page in the first window in the list 2) Doesn't save the login details so you have to log in to each page. 3) The call to ro_gui_401login_open shouldn't be there. svn path=/import/netsurf/; revision=372
Diffstat (limited to 'riscos/dialog.c')
-rw-r--r--riscos/dialog.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/riscos/dialog.c b/riscos/dialog.c
index f8df58bb0..5dd170dc6 100644
--- a/riscos/dialog.c
+++ b/riscos/dialog.c
@@ -25,7 +25,8 @@
wimp_w dialog_info, dialog_saveas, dialog_config, dialog_config_br,
- dialog_config_prox, dialog_config_th, download_template;
+ dialog_config_prox, dialog_config_th, download_template,
+ dialog_401li;
wimp_menu* theme_menu = NULL;
static struct ro_choices choices;
@@ -121,7 +122,7 @@ void ro_gui_dialog_open(wimp_w w)
screen_x, screen_y, dx, dy;
wimp_window_state open;
- /* find screen centre in os units */
+ /* find screen centre in os units */
os_read_mode_variable(os_CURRENT_MODE, os_MODEVAR_XEIG_FACTOR, &xeig_factor);
os_read_mode_variable(os_CURRENT_MODE, os_MODEVAR_YEIG_FACTOR, &yeig_factor);
os_read_mode_variable(os_CURRENT_MODE, os_MODEVAR_XWIND_LIMIT, &xwind_limit);
@@ -160,6 +161,8 @@ void ro_gui_dialog_click(wimp_pointer *pointer)
ro_gui_dialog_click_config_prox(pointer);
else if (pointer->w == dialog_config_th)
ro_gui_dialog_click_config_th(pointer);
+ else if (pointer->w == dialog_401li)
+ ro_gui_401login_click(pointer);
}