diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2004-06-27 14:41:14 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2004-06-27 14:41:14 +0000 |
commit | 50e0ebf3fa1fa09603371d81b971f5f95331ecd2 (patch) | |
tree | dbacc563d47e7b6ac7440fba12f2d61861ac2f64 /riscos/dialog.c | |
parent | afceb17b80b04a8f98676d430d0b87c6ac66c4eb (diff) | |
download | netsurf-50e0ebf3fa1fa09603371d81b971f5f95331ecd2.tar.gz netsurf-50e0ebf3fa1fa09603371d81b971f5f95331ecd2.tar.bz2 |
[project @ 2004-06-27 14:41:14 by rjw]
Improved window positioning
svn path=/import/netsurf/; revision=1018
Diffstat (limited to 'riscos/dialog.c')
-rw-r--r-- | riscos/dialog.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/riscos/dialog.c b/riscos/dialog.c index ff531a305..a33d5fd1a 100644 --- a/riscos/dialog.c +++ b/riscos/dialog.c @@ -261,9 +261,7 @@ void ro_gui_dialog_click_config(wimp_pointer *pointer) get_browser_choices(); get_proxy_choices(); get_theme_choices(); - xosfile_create_dir("<Choices$Write>.WWW", 0); - xosfile_create_dir("<Choices$Write>.WWW.NetSurf", 0); - options_write("<Choices$Write>.WWW.NetSurf.Choices"); + ro_gui_save_options(); if (pointer->buttons == wimp_CLICK_SELECT) { ro_gui_dialog_close(dialog_config_br); ro_gui_dialog_close(dialog_config_prox); @@ -294,6 +292,14 @@ void ro_gui_dialog_click_config(wimp_pointer *pointer) } } +/** + * Save the current options + */ +void ro_gui_save_options(void) { + xosfile_create_dir("<Choices$Write>.WWW", 0); + xosfile_create_dir("<Choices$Write>.WWW.NetSurf", 0); + options_write("<Choices$Write>.WWW.NetSurf.Choices"); +} /** * Handle clicks in the Browser Choices dialog. |