mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 01:09:39 +03:00
[project @ 2005-08-03 17:02:16 by rjw]
Save the desired window position when required. svn path=/import/netsurf/; revision=1838
This commit is contained in:
parent
d8e290a7a1
commit
9699f5e2a1
@ -614,10 +614,7 @@ void ro_gui_menu_selection(wimp_selection *selection) {
|
|||||||
ro_gui_set_icon_string(dialog_openurl, ICON_OPENURL_URL,
|
ro_gui_set_icon_string(dialog_openurl, ICON_OPENURL_URL,
|
||||||
url_suggest_menu->entries[selection->items[0]].
|
url_suggest_menu->entries[selection->items[0]].
|
||||||
data.indirected_text.text);
|
data.indirected_text.text);
|
||||||
/* browser_window_create(
|
global_history_add_recent(url_suggest_menu->
|
||||||
url_suggest_menu->entries[selection->items[0]].
|
|
||||||
data.indirected_text.text, 0, 0);
|
|
||||||
*/ global_history_add_recent(url_suggest_menu->
|
|
||||||
entries[selection->items[0]].
|
entries[selection->items[0]].
|
||||||
data.indirected_text.text);
|
data.indirected_text.text);
|
||||||
} else if (current_menu == proxy_auth_menu) {
|
} else if (current_menu == proxy_auth_menu) {
|
||||||
@ -1642,6 +1639,7 @@ bool ro_gui_menu_handle_action(wimp_w owner, menu_action action,
|
|||||||
state.visible.x1 - state.visible.x0;
|
state.visible.x1 - state.visible.x0;
|
||||||
option_window_height =
|
option_window_height =
|
||||||
state.visible.y1 - state.visible.y0;
|
state.visible.y1 - state.visible.y0;
|
||||||
|
ro_gui_save_options();
|
||||||
return true;
|
return true;
|
||||||
case BROWSER_WINDOW_STAGGER:
|
case BROWSER_WINDOW_STAGGER:
|
||||||
option_window_stagger = !option_window_stagger;
|
option_window_stagger = !option_window_stagger;
|
||||||
|
Loading…
Reference in New Issue
Block a user