diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2006-04-06 17:06:18 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2006-04-06 17:06:18 +0000 |
commit | 7fe74d3bc75ce878bd7456ef57fc027e5ffef50e (patch) | |
tree | 90d3121bf9f566f1f9e37e217757a4ad731e941f | |
parent | 1d323df670179796e6c05e8fa30a80ad476aecd3 (diff) | |
download | netsurf-7fe74d3bc75ce878bd7456ef57fc027e5ffef50e.tar.gz netsurf-7fe74d3bc75ce878bd7456ef57fc027e5ffef50e.tar.bz2 |
[project @ 2006-04-06 17:06:17 by rjw]
Add more interface options.
svn path=/import/netsurf/; revision=2491
-rwxr-xr-x | !NetSurf/Resources/de/Templates,fec | bin | 15334 -> 16831 bytes | |||
-rw-r--r-- | !NetSurf/Resources/en/Templates,fec | bin | 15278 -> 16775 bytes | |||
-rw-r--r-- | !NetSurf/Resources/fr/Templates,fec | bin | 15461 -> 16958 bytes | |||
-rw-r--r-- | !NetSurf/Resources/nl/Templates,fec | bin | 15364 -> 16861 bytes | |||
-rw-r--r-- | riscos/configure/con_inter.c | 24 |
5 files changed, 19 insertions, 5 deletions
diff --git a/!NetSurf/Resources/de/Templates,fec b/!NetSurf/Resources/de/Templates,fec Binary files differindex f9a41877c..271ede2f9 100755 --- a/!NetSurf/Resources/de/Templates,fec +++ b/!NetSurf/Resources/de/Templates,fec diff --git a/!NetSurf/Resources/en/Templates,fec b/!NetSurf/Resources/en/Templates,fec Binary files differindex 5440595d4..cb59c3249 100644 --- a/!NetSurf/Resources/en/Templates,fec +++ b/!NetSurf/Resources/en/Templates,fec diff --git a/!NetSurf/Resources/fr/Templates,fec b/!NetSurf/Resources/fr/Templates,fec Binary files differindex 5ba3cca84..b6f23ca31 100644 --- a/!NetSurf/Resources/fr/Templates,fec +++ b/!NetSurf/Resources/fr/Templates,fec diff --git a/!NetSurf/Resources/nl/Templates,fec b/!NetSurf/Resources/nl/Templates,fec Binary files differindex 358ab81bb..aae7be7eb 100644 --- a/!NetSurf/Resources/nl/Templates,fec +++ b/!NetSurf/Resources/nl/Templates,fec diff --git a/riscos/configure/con_inter.c b/riscos/configure/con_inter.c index 1008226bf..25619cd2c 100644 --- a/riscos/configure/con_inter.c +++ b/riscos/configure/con_inter.c @@ -14,11 +14,13 @@ #include "netsurf/riscos/configure/configure.h" -#define INTERFACE_OK_BUTTON 0 -#define INTERFACE_CANCEL_BUTTON 1 -#define INTERFACE_DEFAULT_BUTTON 2 -#define INTERFACE_STRIP_EXTNS_OPTION 4 -#define INTERFACE_CONFIRM_OVWR_OPTION 5 +#define INTERFACE_STRIP_EXTNS_OPTION 2 +#define INTERFACE_CONFIRM_OVWR_OPTION 3 +#define INTERFACE_URL_COMPLETE_OPTION 6 +#define INTERFACE_HISTORY_TOOLTIP_OPTION 7 +#define INTERFACE_DEFAULT_BUTTON 8 +#define INTERFACE_CANCEL_BUTTON 9 +#define INTERFACE_OK_BUTTON 10 static void ro_gui_options_interface_default(wimp_pointer *pointer); @@ -31,6 +33,10 @@ bool ro_gui_options_interface_initialise(wimp_w w) { option_strip_extensions); ro_gui_set_icon_selected_state(w, INTERFACE_CONFIRM_OVWR_OPTION, option_confirm_overwrite); + ro_gui_set_icon_selected_state(w, INTERFACE_URL_COMPLETE_OPTION, + option_url_suggestion); + ro_gui_set_icon_selected_state(w, INTERFACE_HISTORY_TOOLTIP_OPTION, + option_history_tooltip); /* initialise all functions for a newly created window */ ro_gui_wimp_event_register_button(w, INTERFACE_DEFAULT_BUTTON, @@ -50,6 +56,10 @@ void ro_gui_options_interface_default(wimp_pointer *pointer) { INTERFACE_STRIP_EXTNS_OPTION, true); ro_gui_set_icon_selected_state(pointer->w, INTERFACE_CONFIRM_OVWR_OPTION, true); + ro_gui_set_icon_selected_state(pointer->w, + INTERFACE_URL_COMPLETE_OPTION, true); + ro_gui_set_icon_selected_state(pointer->w, + INTERFACE_HISTORY_TOOLTIP_OPTION, true); } bool ro_gui_options_interface_ok(wimp_w w) { @@ -58,6 +68,10 @@ bool ro_gui_options_interface_ok(wimp_w w) { INTERFACE_STRIP_EXTNS_OPTION); option_confirm_overwrite = ro_gui_get_icon_selected_state(w, INTERFACE_CONFIRM_OVWR_OPTION); + option_url_suggestion = ro_gui_get_icon_selected_state(w, + INTERFACE_URL_COMPLETE_OPTION); + option_history_tooltip = ro_gui_get_icon_selected_state(w, + INTERFACE_HISTORY_TOOLTIP_OPTION); ro_gui_save_options(); return true; |