From 72d3bec792c614783d6333267852675f14f7bf94 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 27 Dec 2016 11:45:18 +0000 Subject: Update RISC OS global history to use core window interface --- frontends/riscos/window.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'frontends/riscos/window.c') diff --git a/frontends/riscos/window.c b/frontends/riscos/window.c index 569860ea6..3e84846a3 100644 --- a/frontends/riscos/window.c +++ b/frontends/riscos/window.c @@ -1953,7 +1953,7 @@ bool ro_gui_window_handle_local_keypress(struct gui_window *g, wimp_key *key, case IS_WIMP_KEY + wimp_KEY_CONTROL + wimp_KEY_F7: /* Show global history */ - ro_gui_global_history_open(); + ro_gui_global_history_present(); return true; case IS_WIMP_KEY + wimp_KEY_F8: /* View source */ @@ -2696,7 +2696,7 @@ bool ro_gui_window_menu_select(wimp_w w, wimp_i i, wimp_menu *menu, ro_gui_window_action_local_history(g); break; case HISTORY_SHOW_GLOBAL: - ro_gui_global_history_open(); + ro_gui_global_history_present(); break; /* hotlist actions */ @@ -3607,7 +3607,7 @@ void ro_gui_window_toolbar_click(void *data, break; case TOOLBAR_BUTTON_HISTORY_GLOBAL: - ro_gui_global_history_open(); + ro_gui_global_history_present(); break; case TOOLBAR_BUTTON_HOME: -- cgit v1.2.3